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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 87.62 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003835/0.003835, allocations: 162.8 kB / 24.69 MB, free: 9.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.823/0.823, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.22e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.1313/0.1313, allocations: 9.031 MB / 307.5 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.1372, allocations: 3.597 MB / 311.1 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.1385, allocations: 66.62 kB / 311.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002526/0.141, allocations: 2.003 MB / 313.1 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.1441, allocations: 1.76 MB / 314.9 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.1451, allocations: 0.6594 MB / 315.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00313/0.1482, allocations: 3.7 MB / 319.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.1502, allocations: 2.387 MB / 321.6 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.1521, allocations: 1.916 MB / 323.6 MB, free: 2.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.1536, allocations: 1.826 MB / 325.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002842/0.1539, allocations: 258.7 kB / 325.6 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1551, allocations: 0.9814 MB / 326.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008459/0.156, allocations: 1.697 MB / 328.3 MB, free: 180 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007541/0.1567, allocations: 1.045 MB / 329.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.1603, allocations: 5.89 MB / 335.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1603, allocations: 8 kB / 335.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1603, allocations: 0 / 335.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.917e-05/0.1603, allocations: 0 / 335.3 MB, free: 9.781 MB / 298.7 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.003851/0.1641, allocations: 4.084 MB / 339.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1642, allocations: 11.98 kB / 339.4 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004642/0.1646, allocations: 0.6043 MB / 340 MB, free: 5.016 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.1679, allocations: 1.847 MB / 341.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.1701, allocations: 2.115 MB / 343.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.451e-05/0.1702, allocations: 188.8 kB / 344.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.1705, allocations: 255.8 kB / 344.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/0.1774, allocations: 8.453 MB / 352.8 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.773e-05/0.1774, allocations: 39.64 kB / 352.9 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.1777, allocations: 131.8 kB / 353 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001493/0.1791, allocations: 1.699 MB / 354.7 MB, free: 5.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/0.1863, allocations: 7.067 MB / 361.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02007/0.2063, allocations: 33.08 MB / 394.8 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/0.2103, allocations: 2.798 MB / 397.6 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.2115, allocations: 1.36 MB / 399 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003598/0.2151, allocations: 3.537 MB / 402.5 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.2151, allocations: 43.22 kB / 402.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of pre-optimization done (n=121): time 2.615e-06/0.2151, allocations: 4 kB / 402.6 MB, free: 4.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=129): time 0.01631/0.2314, allocations: 12 MB / 414.6 MB, free: 8.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.2315, allocations: 141.2 kB / 414.7 MB, free: 8.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003268/0.2347, allocations: 4.17 MB / 418.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.2348, allocations: 45.7 kB / 418.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.236, allocations: 2.827 MB / 421.7 MB, free: 1.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.2363, allocations: 0.5312 MB / 422.3 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008263/0.2372, allocations: 1.076 MB / 423.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.2372, allocations: 309 kB / 423.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.2388, allocations: 1.693 MB / 425.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/0.2417, allocations: 5.123 MB / 430.5 MB, free: 6.816 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004929/0.2466, allocations: 7.39 MB / 437.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.132e-05/0.2467, allocations: 36 kB / 437.9 MB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.006221/0.2529, allocations: 6.716 MB / 444.6 MB, free: 6.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.2529, allocations: 63.92 kB / 444.7 MB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-05/0.253, allocations: 124 kB / 444.8 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/0.2534, allocations: 321.3 kB / 445.1 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.2552, allocations: 1.243 MB / 446.4 MB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.2569, allocations: 2.378 MB / 448.7 MB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/0.2586, allocations: 319.6 kB / 449 MB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.2589, allocations: 336.1 kB / 449.4 MB, free: 2.082 MB / 410.7 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.001657/0.2605, allocations: 1.787 MB / 451.2 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.2608, allocations: 330 kB / 451.5 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.2634, allocations: 2.362 MB / 453.8 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.2634, allocations: 19.98 kB / 453.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2634, allocations: 4 kB / 453.9 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.2634, allocations: 3.984 kB / 453.9 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006158/0.2696, allocations: 5.726 MB / 459.6 MB, free: 7.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2696, allocations: 8 kB / 459.6 MB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.27, allocations: 179.6 kB / 459.8 MB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001135/0.2711, allocations: 0.7186 MB / 460.5 MB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/0.2712, allocations: 27.98 kB / 460.5 MB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/0.275, allocations: 4.722 MB / 465.2 MB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.275, allocations: 0 / 465.2 MB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1344/0.4095, allocations: 4.322 MB / 469.6 MB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.4106, allocations: 0.5029 MB / 470.1 MB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000254/0.4108, allocations: 23.02 kB / 470.1 MB, free: 134.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007413/0.4116, allocations: 105.9 kB / 470.2 MB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.4117, allocations: 69.95 kB / 470.3 MB, free: 134.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.4118, allocations: 32.22 kB / 470.3 MB, free: 134.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002998/0.4148, allocations: 2.503 MB / 472.8 MB, free: 133.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4148, allocations: 0 / 472.8 MB, free: 133.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002941/0.4177, allocations: 0.9058 MB / 473.7 MB, free: 133.7 MB / 426.7 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.005032/0.4228, allocations: 4.991 MB / 478.7 MB, free: 131.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004808/0.4276, allocations: 3.871 MB / 482.6 MB, free: 130.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4276, allocations: 1 kB / 482.6 MB, free: 130.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4286, allocations: 1.036 MB / 483.6 MB, free: 129.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.43, allocations: 398.9 kB / 484 MB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02826/0.4582, allocations: 38.39 MB / 0.5101 GB, free: 97.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00154/0.4598, allocations: 2.243 MB / 0.5123 GB, free: 95.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002004/0.4618, allocations: 1.664 MB / 0.514 GB, free: 93.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.4629, allocations: 1.535 MB / 0.5155 GB, free: 91.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4629, allocations: 0 / 0.5155 GB, free: 91.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0561/0.519, allocations: 60.08 MB / 0.5741 GB, free: 31.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.6, allocations: 15.77 kB / 0.5741 GB, free: 31.75 MB / 426.7 MB " [Timeout remaining time 649] (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 --stepSize=0.000201919 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.447819896042347]