Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 113.4 kB / 17.73 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 188.2 kB / 18.66 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 47.94 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07563/0.07689, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1592/0.2361, allocations: 10.23 MB / 384.9 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.2423, allocations: 3.79 MB / 388.7 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.2434, allocations: 58.91 kB / 388.7 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003162/0.2466, allocations: 1.949 MB / 390.7 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.2504, allocations: 1.649 MB / 392.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.2517, allocations: 0.6161 MB / 392.9 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004165/0.2559, allocations: 3.332 MB / 396.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.2586, allocations: 2.594 MB / 398.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.2602, allocations: 1.246 MB / 400.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.2619, allocations: 1.674 MB / 401.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004294/0.2623, allocations: 253.2 kB / 402 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.2642, allocations: 1.027 MB / 403.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.2656, allocations: 1.586 MB / 404.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.2673, allocations: 1.847 MB / 406.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00574/0.2731, allocations: 5.84 MB / 412.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2731, allocations: 0 / 412.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2731, allocations: 5.688 kB / 412.3 MB, free: 9.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001292/0.2733, allocations: 0 / 412.3 MB, free: 9.223 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.007262/0.2805, allocations: 4.04 MB / 416.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2806, allocations: 8.031 kB / 416.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000767/0.2814, allocations: 0.6043 MB / 417 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005862/0.2872, allocations: 1.786 MB / 418.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.2912, allocations: 2.416 MB / 421.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.2913, allocations: 192.8 kB / 421.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/0.2917, allocations: 255.8 kB / 421.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.3037, allocations: 8.427 MB / 430.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.794e-05/0.3038, allocations: 43.59 kB / 430.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/0.3042, allocations: 131.8 kB / 430.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002564/0.3067, allocations: 1.703 MB / 431.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.3192, allocations: 7.087 MB / 439 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03528/0.3545, allocations: 34.04 MB / 473.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006694/0.3612, allocations: 3.282 MB / 476.3 MB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.3629, allocations: 1.466 MB / 477.8 MB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005737/0.3687, allocations: 4.349 MB / 482.2 MB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3687, allocations: 55.05 kB / 482.2 MB, free: 1.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.537e-06/0.3687, allocations: 3.938 kB / 482.2 MB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02791/0.3967, allocations: 11.57 MB / 493.8 MB, free: 6.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.3968, allocations: 149.1 kB / 493.9 MB, free: 6.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005734/0.4025, allocations: 3.734 MB / 497.7 MB, free: 2.355 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.4027, allocations: 45.7 kB / 497.7 MB, free: 2.305 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.4045, allocations: 2.76 MB / 0.4887 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/0.4051, allocations: 0.521 MB / 0.4892 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/0.4068, allocations: 1.071 MB / 0.4903 GB, free: 13.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.4069, allocations: 301.1 kB / 0.4906 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/0.4092, allocations: 1.701 MB / 0.4922 GB, free: 11.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/0.4135, allocations: 5.108 MB / 0.4972 GB, free: 5.047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.4203, allocations: 7.404 MB / 0.5045 GB, free: 11.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.93e-05/0.4204, allocations: 36 kB / 0.5045 GB, free: 11.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009905/0.4303, allocations: 6.704 MB / 0.511 GB, free: 5.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/0.4304, allocations: 64.03 kB / 0.5111 GB, free: 5.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/0.4306, allocations: 120 kB / 0.5112 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/0.4312, allocations: 316.7 kB / 0.5115 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/0.4348, allocations: 1.24 MB / 0.5127 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.4371, allocations: 2.494 MB / 0.5152 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/0.4406, allocations: 287.4 kB / 0.5154 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006321/0.4413, allocations: 335.9 kB / 0.5158 GB, free: 216 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002816/0.4441, allocations: 1.795 MB / 0.5175 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/0.4447, allocations: 311.9 kB / 0.5178 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.4492, allocations: 2.363 MB / 0.5201 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/0.4493, allocations: 12 kB / 0.5201 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.4493, allocations: 4 kB / 0.5201 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.4493, allocations: 7.984 kB / 0.5201 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.4612, allocations: 5.925 MB / 0.5259 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.4612, allocations: 0 / 0.5259 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/0.462, allocations: 171.8 kB / 0.5261 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00205/0.4641, allocations: 0.7148 MB / 0.5268 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.4642, allocations: 20 kB / 0.5268 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005418/0.4696, allocations: 4.819 MB / 0.5315 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4697, allocations: 0 / 0.5315 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.4758, allocations: 4.329 MB / 0.5357 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/0.477, allocations: 0.5243 MB / 0.5363 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005999/0.4776, allocations: 31.92 kB / 0.5363 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.4789, allocations: 59.92 kB / 0.5363 GB, free: 10.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.4791, allocations: 64.56 kB / 0.5364 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/0.4792, allocations: 39.98 kB / 0.5364 GB, free: 10.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004185/0.4834, allocations: 2.331 MB / 0.5387 GB, free: 8.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4834, allocations: 0 / 0.5387 GB, free: 8.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004528/0.4879, allocations: 0.8241 MB / 0.5395 GB, free: 7.586 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006804/0.4947, allocations: 4.958 MB / 0.5444 GB, free: 2.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1608/0.6555, allocations: 4.031 MB / 0.5483 GB, free: 155.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6556, allocations: 0 / 0.5483 GB, free: 155.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001561/0.6571, allocations: 1.112 MB / 0.5494 GB, free: 155.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.6593, allocations: 392.4 kB / 0.5498 GB, free: 155.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04433/0.7037, allocations: 37.65 MB / 0.5865 GB, free: 130.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002189/0.7059, allocations: 2.791 MB / 0.5892 GB, free: 128.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003041/0.7089, allocations: 1.655 MB / 0.5909 GB, free: 127.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/0.7104, allocations: 1.519 MB / 0.5923 GB, free: 125.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.903e-06/0.7104, allocations: 3.938 kB / 0.5924 GB, free: 125.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/1.055, allocations: 58.61 MB / 0.6496 GB, free: 67.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.23/23.28, allocations: 15.92 kB / 0.6496 GB, free: 67.07 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches