Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002704/0.002704, allocations: 203.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.89 kB / 377.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3732, allocations: 53.41 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.01211/0.3854, allocations: 9.028 MB / 440.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007556/0.3929, allocations: 3.687 MB / 443.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.394, allocations: 67.69 kB / 443.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004295/0.3983, allocations: 2.02 MB / 446 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0047/0.403, allocations: 1.65 MB / 447.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.4048, allocations: 0.698 MB / 448.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005191/0.41, allocations: 3.396 MB / 451.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.413, allocations: 2.2 MB / 453.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.415, allocations: 1.269 MB / 455.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.4177, allocations: 1.798 MB / 457 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005824/0.4183, allocations: 268 kB / 457.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.4206, allocations: 1.006 MB / 458.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.4224, allocations: 1.601 MB / 459.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.4243, allocations: 1.363 MB / 461.2 MB, free: 8.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008199/0.4325, allocations: 5.941 MB / 467.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4325, allocations: 0 / 467.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4325, allocations: 0 / 467.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001333/0.4326, allocations: 3.938 kB / 467.1 MB, free: 2.281 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: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.009762/0.4424, allocations: 4.153 MB / 471.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4425, allocations: 11.98 kB / 471.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001002/0.4435, allocations: 0.6413 MB / 471.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007161/0.4506, allocations: 1.89 MB / 473.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.4575, allocations: 2.056 MB / 475.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.4577, allocations: 205.2 kB / 476.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.4588, allocations: 275.8 kB / 476.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02165/0.4804, allocations: 10.05 MB / 486.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.4805, allocations: 35.69 kB / 486.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/0.4809, allocations: 135.9 kB / 486.6 MB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003529/0.4844, allocations: 1.852 MB / 488.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01982/0.5043, allocations: 8.548 MB / 497 MB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05688/0.5611, allocations: 35.44 MB / 0.5199 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/0.572, allocations: 3.095 MB / 0.523 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002984/0.575, allocations: 1.693 MB / 0.5246 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/0.5889, allocations: 6.254 MB / 0.5307 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.92e-05/0.589, allocations: 55.44 kB / 0.5308 GB, free: 3.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 5.6e-06/0.589, allocations: 0 / 0.5308 GB, free: 3.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.3227/0.9117, allocations: 17.57 MB / 0.5479 GB, free: 99.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.9118, allocations: 142.8 kB / 0.5481 GB, free: 99.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004442/0.9162, allocations: 3.686 MB / 0.5517 GB, free: 96.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.9165, allocations: 49.7 kB / 0.5517 GB, free: 96.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.9179, allocations: 2.842 MB / 0.5545 GB, free: 94.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006109/0.9185, allocations: 0.6775 MB / 0.5552 GB, free: 93.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.9197, allocations: 1.124 MB / 0.5563 GB, free: 92.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.9197, allocations: 301.1 kB / 0.5565 GB, free: 92.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.9222, allocations: 1.951 MB / 0.5584 GB, free: 90.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003765/0.9259, allocations: 5.377 MB / 0.5637 GB, free: 83.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00687/0.9328, allocations: 7.949 MB / 0.5715 GB, free: 73.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.758e-05/0.9329, allocations: 36 kB / 0.5715 GB, free: 73.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01358/0.9465, allocations: 8.171 MB / 0.5795 GB, free: 65.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.355e-05/0.9465, allocations: 60 kB / 0.5795 GB, free: 65.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.9467, allocations: 123.9 kB / 0.5797 GB, free: 65.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003696/0.9503, allocations: 1.292 MB / 0.5809 GB, free: 63.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003482/0.9538, allocations: 1.263 MB / 0.5821 GB, free: 62.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/0.9614, allocations: 6.395 MB / 0.5884 GB, free: 56.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005132/0.9666, allocations: 307.6 kB / 0.5887 GB, free: 55.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007712/0.9673, allocations: 340 kB / 0.589 GB, free: 55.42 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (681): * Single equations (assignments): 677 * 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 {(3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002903/0.9703, allocations: 1.806 MB / 0.5908 GB, free: 53.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007838/0.971, allocations: 321.8 kB / 0.5911 GB, free: 53.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006784/0.9778, allocations: 3.373 MB / 0.5944 GB, free: 49.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.959e-05/0.9779, allocations: 20 kB / 0.5944 GB, free: 49.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.9779, allocations: 4.875 kB / 0.5944 GB, free: 49.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.9779, allocations: 11.97 kB / 0.5944 GB, free: 49.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.9923, allocations: 7.258 MB / 0.6015 GB, free: 42.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.9923, allocations: 3.938 kB / 0.6015 GB, free: 42.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9936, allocations: 247.2 kB / 0.6017 GB, free: 42.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/0.9971, allocations: 1.12 MB / 0.6028 GB, free: 41.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002181/0.9973, allocations: 29.19 kB / 0.6029 GB, free: 41.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00774/1.005, allocations: 6.017 MB / 0.6087 GB, free: 35.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.005, allocations: 0 / 0.6087 GB, free: 35.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00939/1.014, allocations: 5.751 MB / 0.6144 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009622/1.015, allocations: 293.7 kB / 0.6146 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006944/1.016, allocations: 24 kB / 0.6147 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/1.018, allocations: 95.88 kB / 0.6147 GB, free: 28.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/1.018, allocations: 96.27 kB / 0.6148 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/1.018, allocations: 55.92 kB / 0.6149 GB, free: 28.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003721/1.022, allocations: 2.142 MB / 0.617 GB, free: 26.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.022, allocations: 0 / 0.617 GB, free: 26.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004948/1.027, allocations: 0.8906 MB / 0.6179 GB, free: 25.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009549/1.037, allocations: 6.394 MB / 0.6241 GB, free: 19.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006954/1.043, allocations: 4.61 MB / 0.6286 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.043, allocations: 0 / 0.6286 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.046, allocations: 1.452 MB / 0.63 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/1.049, allocations: 359.2 kB / 0.6304 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08222/1.131, allocations: 41.32 MB / 0.6707 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004893/1.136, allocations: 2.296 MB / 0.673 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005005/1.141, allocations: 1.703 MB / 0.6746 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/1.144, allocations: 1.577 MB / 0.6762 GB, free: 8.656 MB / 494.1 MB Notification: Performance of SimCode: time 1.984e-06/1.144, allocations: 4 kB / 0.6762 GB, free: 8.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.563/3.707, allocations: 60.75 MB / 0.7355 GB, free: 186.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.57/22.27, allocations: 15.62 kB / 0.7355 GB, free: 186.5 MB / 0.5294 GB " [Timeout remaining time 638] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_PendulumWithSpringDamper.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PendulumWithSpringDamper/PendulumWithSpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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: 25.447891049087048]