Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001912, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2372, allocations: 50.53 MB / 409.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007661/0.2449, allocations: 7.097 MB / 416.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00482/0.2497, allocations: 3.166 MB / 419.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003481/0.2501, allocations: 31.94 kB / 419.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.2515, allocations: 0.7859 MB / 420.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.2536, allocations: 1.304 MB / 421.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007901/0.2544, allocations: 0.4951 MB / 422.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.2569, allocations: 2.555 MB / 424.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.258, allocations: 1.161 MB / 425.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007055/0.2587, allocations: 0.7511 MB / 426.6 MB, free: 340 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.2598, allocations: 1.098 MB / 427.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.26, allocations: 132 kB / 427.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.2612, allocations: 0.8697 MB / 428.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007176/0.2619, allocations: 0.9816 MB / 429.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.2628, allocations: 1.18 MB / 430.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.266, allocations: 3.913 MB / 434.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2661, allocations: 0 / 434.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2661, allocations: 0 / 434.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.2661, allocations: 0 / 434.8 MB, free: 8.133 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.004154/0.2703, allocations: 2.879 MB / 437.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2703, allocations: 12.02 kB / 437.6 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005316/0.2756, allocations: 1.635 MB / 439.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.2777, allocations: 1.305 MB / 440.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.2778, allocations: 118.9 kB / 440.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.2781, allocations: 151.8 kB / 440.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007781/0.2859, allocations: 6.359 MB / 447.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.286, allocations: 35.66 kB / 447.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.2862, allocations: 87.81 kB / 447.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002173/0.2884, allocations: 1.429 MB / 448.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008753/0.2971, allocations: 5.677 MB / 454.4 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/0.3229, allocations: 26.21 MB / 480.6 MB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.3269, allocations: 2.257 MB / 482.9 MB, free: 6.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.3281, allocations: 1.026 MB / 483.9 MB, free: 5.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.059e-05/0.3281, allocations: 11.98 kB / 483.9 MB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3282, allocations: 46.5 kB / 484 MB, free: 5.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.026e-06/0.3282, allocations: 0 / 484 MB, free: 5.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.01876/0.3469, allocations: 8.573 MB / 492.6 MB, free: 12.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.347, allocations: 144.5 kB / 492.7 MB, free: 12.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/0.3503, allocations: 2.811 MB / 495.5 MB, free: 9.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.724e-05/0.3504, allocations: 37.7 kB / 495.5 MB, free: 9.496 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/0.3518, allocations: 2.071 MB / 497.6 MB, free: 7.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003389/0.3522, allocations: 434.6 kB / 498 MB, free: 6.965 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009659/0.3532, allocations: 0.8847 MB / 498.9 MB, free: 6.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.3533, allocations: 305.1 kB / 499.2 MB, free: 5.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.3552, allocations: 1.418 MB / 0.4889 GB, free: 4.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/0.3589, allocations: 4.246 MB / 0.4931 GB, free: 14.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005944/0.3648, allocations: 6.136 MB / 0.499 GB, free: 7.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.65e-05/0.3649, allocations: 28 kB / 0.4991 GB, free: 7.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.009328/0.3742, allocations: 6.111 MB / 0.505 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.538e-05/0.3743, allocations: 48 kB / 0.5051 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.042e-05/0.3744, allocations: 104.2 kB / 0.5052 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/0.3765, allocations: 0.7966 MB / 0.506 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/0.3791, allocations: 0.9906 MB / 0.5069 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005467/0.3846, allocations: 4.472 MB / 0.5113 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.387, allocations: 251.5 kB / 0.5115 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/0.3873, allocations: 276 kB / 0.5118 GB, free: 9.902 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (537): * Single equations (assignments): 533 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001688/0.389, allocations: 1.371 MB / 0.5131 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.3893, allocations: 229.1 kB / 0.5134 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003507/0.3928, allocations: 1.857 MB / 0.5152 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/0.3929, allocations: 15.94 kB / 0.5152 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.3929, allocations: 4 kB / 0.5152 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3929, allocations: 3.984 kB / 0.5152 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007658/0.4006, allocations: 4.79 MB / 0.5199 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4006, allocations: 0 / 0.5199 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.4012, allocations: 135.8 kB / 0.52 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.4031, allocations: 0.6483 MB / 0.5206 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/0.4031, allocations: 16 kB / 0.5207 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004638/0.4078, allocations: 3.953 MB / 0.5245 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4078, allocations: 0 / 0.5245 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.4131, allocations: 3.689 MB / 0.5281 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.4137, allocations: 293.9 kB / 0.5284 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.4139, allocations: 23.98 kB / 0.5284 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/0.4147, allocations: 63.91 kB / 0.5285 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.4149, allocations: 55.86 kB / 0.5285 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.415, allocations: 32 kB / 0.5286 GB, free: 8.426 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00237/0.4174, allocations: 1.746 MB / 0.5303 GB, free: 6.672 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4174, allocations: 4 kB / 0.5303 GB, free: 6.668 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00299/0.4204, allocations: 0.6328 MB / 0.5309 GB, free: 6.035 MB / 462.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 (75): * Single equations (assignments): 71 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003211/0.4207, allocations: 139.1 kB / 0.531 GB, free: 5.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004892/0.4256, allocations: 3.424 MB / 0.5344 GB, free: 2.477 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4256, allocations: 3.938 kB / 0.5344 GB, free: 2.473 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.4269, allocations: 0.9336 MB / 0.5353 GB, free: 1.527 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.4284, allocations: 264.8 kB / 0.5355 GB, free: 1.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2058/0.6342, allocations: 5.399 MB / 0.5408 GB, free: 125.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001813/0.6361, allocations: 2.196 MB / 0.543 GB, free: 124.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002546/0.6386, allocations: 1.4 MB / 0.5443 GB, free: 124.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.639, allocations: 153.7 kB / 0.5445 GB, free: 124.9 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.639, allocations: 6.844 kB / 0.5445 GB, free: 124.9 MB / 462.1 MB Notification: Performance of Templates: time 0.03199/0.671, allocations: 20.63 MB / 0.5646 GB, free: 108.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches