Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 51.91 kB / 366.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08688, allocations: 52.15 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01117/0.09805, allocations: 10.26 MB / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007055/0.1051, allocations: 3.818 MB / 432.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.1063, allocations: 67.69 kB / 432.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.1099, allocations: 1.966 MB / 434.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003754/0.1136, allocations: 1.704 MB / 436.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1149, allocations: 0.616 MB / 436.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004279/0.1192, allocations: 3.325 MB / 440.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.1217, allocations: 2.197 MB / 442.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.1235, allocations: 1.265 MB / 443.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.1258, allocations: 1.81 MB / 445.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004577/0.1263, allocations: 256 kB / 445.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.128, allocations: 1.069 MB / 446.8 MB, free: 96 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1733/0.3013, allocations: 1.612 MB / 448.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001841/0.3031, allocations: 1.829 MB / 450.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00646/0.3096, allocations: 5.859 MB / 456.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3096, allocations: 0.5938 kB / 456.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3096, allocations: 1 kB / 456.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001907/0.3098, allocations: 2.594 kB / 456.1 MB, free: 10.17 MB / 366.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.009154/0.3189, allocations: 4.137 MB / 460.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.319, allocations: 10.16 kB / 460.3 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001232/0.3191, allocations: 85.31 kB / 460.4 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/0.3201, allocations: 0.6066 MB / 461 MB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006353/0.3265, allocations: 1.815 MB / 462.8 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/0.3307, allocations: 2.264 MB / 465.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.3309, allocations: 189.1 kB / 465.2 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007008/0.3316, allocations: 256.3 kB / 465.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01246/0.344, allocations: 8.426 MB / 473.9 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.212e-05/0.3441, allocations: 39.17 kB / 474 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000338/0.3444, allocations: 134.3 kB / 474.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/0.347, allocations: 1.696 MB / 475.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.3582, allocations: 7.094 MB / 482.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.039/0.3972, allocations: 34.09 MB / 0.5049 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007343/0.4045, allocations: 3.177 MB / 0.508 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.4064, allocations: 1.356 MB / 0.5093 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006512/0.4129, allocations: 4.371 MB / 0.5136 GB, free: 7.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.4129, allocations: 51.06 kB / 0.5136 GB, free: 7.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.527e-06/0.4129, allocations: 0 / 0.5136 GB, free: 7.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02984/0.4428, allocations: 11.69 MB / 0.525 GB, free: 11.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.4429, allocations: 149.7 kB / 0.5252 GB, free: 11.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005008/0.4479, allocations: 3.734 MB / 0.5288 GB, free: 7.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.448, allocations: 41.7 kB / 0.5289 GB, free: 7.668 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002028/0.4501, allocations: 2.87 MB / 0.5317 GB, free: 4.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005717/0.4506, allocations: 0.5435 MB / 0.5322 GB, free: 4.273 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/0.452, allocations: 1.078 MB / 0.5332 GB, free: 3.188 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4521, allocations: 305.1 kB / 0.5335 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.4545, allocations: 1.697 MB / 0.5352 GB, free: 1.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004848/0.4594, allocations: 5.111 MB / 0.5402 GB, free: 10.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008073/0.4674, allocations: 7.403 MB / 0.5474 GB, free: 1.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-05/0.4675, allocations: 40 kB / 0.5474 GB, free: 1.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01101/0.4785, allocations: 6.719 MB / 0.554 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/0.4786, allocations: 56 kB / 0.5541 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/0.4788, allocations: 124 kB / 0.5542 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/0.4794, allocations: 312.7 kB / 0.5545 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/0.483, allocations: 1.24 MB / 0.5557 GB, free: 9.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.4858, allocations: 2.501 MB / 0.5581 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/0.4894, allocations: 287.6 kB / 0.5584 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006541/0.49, allocations: 328 kB / 0.5587 GB, free: 6.246 MB / 462.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.00316/0.4932, allocations: 1.79 MB / 0.5605 GB, free: 4.445 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006698/0.4939, allocations: 329.7 kB / 0.5608 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/0.4989, allocations: 2.359 MB / 0.5631 GB, free: 1.742 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.4989, allocations: 15.98 kB / 0.5631 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.4989, allocations: 4 kB / 0.5631 GB, free: 1.723 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.4989, allocations: 7.984 kB / 0.5631 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.5117, allocations: 5.901 MB / 0.5689 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.5117, allocations: 10.16 kB / 0.5689 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008179/0.5125, allocations: 175.7 kB / 0.5691 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/0.5148, allocations: 0.7108 MB / 0.5697 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.5149, allocations: 23.05 kB / 0.5698 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006589/0.5215, allocations: 4.813 MB / 0.5745 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.5215, allocations: 7.984 kB / 0.5745 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007614/0.5291, allocations: 4.331 MB / 0.5787 GB, free: 1.551 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009473/0.5301, allocations: 378.7 kB / 0.5791 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006883/0.5308, allocations: 23.94 kB / 0.5791 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/0.5322, allocations: 67.91 kB / 0.5792 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.5325, allocations: 68.5 kB / 0.5792 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.5326, allocations: 32 kB / 0.5792 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004477/0.5371, allocations: 2.324 MB / 0.5815 GB, free: 14.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5371, allocations: 4.062 kB / 0.5815 GB, free: 14.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004416/0.5415, allocations: 0.8226 MB / 0.5823 GB, free: 13.84 MB / 494.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.00738/0.5488, allocations: 4.969 MB / 0.5872 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006245/0.5551, allocations: 3.882 MB / 0.591 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5551, allocations: 0 / 0.591 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.5566, allocations: 1.029 MB / 0.592 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.5594, allocations: 393.1 kB / 0.5923 GB, free: 3.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06162/0.621, allocations: 37.7 MB / 0.6292 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004354/0.6253, allocations: 2.784 MB / 0.6319 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004005/0.6293, allocations: 1.656 MB / 0.6335 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/0.6321, allocations: 1.526 MB / 0.635 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.6321, allocations: 0 / 0.635 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.856/3.488, allocations: 58.11 MB / 0.6917 GB, free: 157 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.78/29.27, allocations: 16.06 kB / 0.6918 GB, free: 157 MB / 0.5294 GB " [Timeout remaining time 631] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 32.6467179050087]