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.001492/0.001492, allocations: 108.6 kB / 21.22 MB, free: 0.7266 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: 187.5 kB / 24.51 MB, free: 4.078 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.312/1.312, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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.001396/0.001396, allocations: 47.92 kB / 371.2 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2039, allocations: 52.19 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01159/0.2155, allocations: 10.3 MB / 433.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007246/0.2228, allocations: 3.814 MB / 437.5 MB, free: 412 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.2238, allocations: 79.56 kB / 437.6 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003741/0.2275, allocations: 1.978 MB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003819/0.2314, allocations: 1.708 MB / 441.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2327, allocations: 0.6238 MB / 441.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.2369, allocations: 3.321 MB / 445.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002671/0.2396, allocations: 2.13 MB / 447.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.2414, allocations: 1.257 MB / 448.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002476/0.2439, allocations: 1.826 MB / 450.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.2443, allocations: 252 kB / 450.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.246, allocations: 1.069 MB / 451.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.2475, allocations: 1.616 MB / 453.4 MB, free: 468 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.2493, allocations: 1.829 MB / 455.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006268/0.2556, allocations: 5.863 MB / 461.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.2556, allocations: 4 kB / 461.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2556, allocations: 0 / 461.1 MB, free: 8.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.635e-05/0.2557, allocations: 0 / 461.1 MB, free: 8.727 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.006609/0.2623, allocations: 4.065 MB / 465.2 MB, free: 4.605 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2623, allocations: 8.031 kB / 465.2 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.841e-05/0.2624, allocations: 85.16 kB / 465.2 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006623/0.263, allocations: 0.6082 MB / 465.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/0.2691, allocations: 1.812 MB / 467.7 MB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/0.2732, allocations: 2.203 MB / 469.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.2733, allocations: 184.8 kB / 470.1 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004794/0.2738, allocations: 259.8 kB / 470.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01328/0.2871, allocations: 8.427 MB / 478.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.414e-05/0.2872, allocations: 39.64 kB / 478.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.2875, allocations: 131.9 kB / 478.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002745/0.2903, allocations: 1.695 MB / 480.6 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01286/0.3031, allocations: 7.098 MB / 487.7 MB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03869/0.3418, allocations: 33.97 MB / 0.5094 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006822/0.3486, allocations: 2.724 MB / 0.5121 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.3504, allocations: 1.356 MB / 0.5134 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00555/0.356, allocations: 3.68 MB / 0.517 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.356, allocations: 47.16 kB / 0.5171 GB, free: 2.449 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 2.755e-06/0.356, allocations: 0 / 0.5171 GB, free: 2.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02774/0.3837, allocations: 11.48 MB / 0.5283 GB, free: 6.891 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.3838, allocations: 149.1 kB / 0.5284 GB, free: 6.715 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005733/0.3896, allocations: 3.727 MB / 0.5321 GB, free: 2.996 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002333/0.3898, allocations: 41.7 kB / 0.5321 GB, free: 2.949 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002217/0.392, allocations: 2.862 MB / 0.5349 GB, free: 60 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1544/0.5464, allocations: 0.5417 MB / 0.5354 GB, free: 109.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001682/0.5481, allocations: 1.088 MB / 0.5365 GB, free: 109.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.338e-05/0.5481, allocations: 301.7 kB / 0.5368 GB, free: 109.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/0.5502, allocations: 1.692 MB / 0.5384 GB, free: 108.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/0.553, allocations: 5.119 MB / 0.5434 GB, free: 103.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004849/0.5578, allocations: 7.407 MB / 0.5507 GB, free: 96.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.226e-05/0.5579, allocations: 36.81 kB / 0.5507 GB, free: 96.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.007289/0.5652, allocations: 6.715 MB / 0.5572 GB, free: 93.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.5652, allocations: 56 kB / 0.5573 GB, free: 93.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.599e-05/0.5653, allocations: 120 kB / 0.5574 GB, free: 93.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/0.5658, allocations: 326.2 kB / 0.5577 GB, free: 93.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/0.5686, allocations: 1.243 MB / 0.5589 GB, free: 91.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.5704, allocations: 2.386 MB / 0.5613 GB, free: 89.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.5732, allocations: 291 kB / 0.5615 GB, free: 89.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.5735, allocations: 331.8 kB / 0.5619 GB, free: 89.14 MB / 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.001672/0.5752, allocations: 1.782 MB / 0.5636 GB, free: 87.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.5755, allocations: 330.1 kB / 0.5639 GB, free: 87.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/0.579, allocations: 2.358 MB / 0.5662 GB, free: 85.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.579, allocations: 12 kB / 0.5662 GB, free: 85.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.579, allocations: 4.844 kB / 0.5662 GB, free: 85.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.579, allocations: 11.97 kB / 0.5662 GB, free: 85.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007621/0.5867, allocations: 5.881 MB / 0.572 GB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5867, allocations: 4 kB / 0.572 GB, free: 79.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006676/0.5873, allocations: 167.7 kB / 0.5722 GB, free: 79.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.5891, allocations: 0.7171 MB / 0.5729 GB, free: 78.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.369e-05/0.5892, allocations: 24 kB / 0.5729 GB, free: 78.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/0.5934, allocations: 4.707 MB / 0.5775 GB, free: 73.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5934, allocations: 4.031 kB / 0.5775 GB, free: 73.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004865/0.5983, allocations: 4.329 MB / 0.5817 GB, free: 69.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000503/0.5988, allocations: 304.2 kB / 0.582 GB, free: 68.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.5991, allocations: 23.17 kB / 0.582 GB, free: 68.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/0.6001, allocations: 65.16 kB / 0.5821 GB, free: 68.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.6002, allocations: 72.52 kB / 0.5822 GB, free: 68.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.856e-05/0.6003, allocations: 36.06 kB / 0.5822 GB, free: 68.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002311/0.6026, allocations: 2.331 MB / 0.5845 GB, free: 66.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6026, allocations: 0 / 0.5845 GB, free: 66.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003226/0.6058, allocations: 0.814 MB / 0.5853 GB, free: 65.57 MB / 446.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.005157/0.611, allocations: 4.97 MB / 0.5901 GB, free: 60.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004366/0.6154, allocations: 3.885 MB / 0.5939 GB, free: 56.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.6154, allocations: 0.5625 kB / 0.5939 GB, free: 56.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.6164, allocations: 1.025 MB / 0.5949 GB, free: 55.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.6182, allocations: 402.1 kB / 0.5953 GB, free: 55.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03233/0.6505, allocations: 37.78 MB / 0.6322 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/0.6524, allocations: 2.777 MB / 0.6349 GB, free: 9.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00261/0.655, allocations: 1.664 MB / 0.6365 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/0.6564, allocations: 1.526 MB / 0.638 GB, free: 6.336 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6564, allocations: 0 / 0.638 GB, free: 6.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4363/1.093, allocations: 62.41 MB / 0.699 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.54/24.63, allocations: 9.812 kB / 0.699 GB, free: 8.348 MB / 0.4981 GB " [Timeout remaining time 635] (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: 28.4091474559973]