Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.001726/0.001726, allocations: 117.8 kB / 18.4 MB, free: 4.66 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.001972/0.001972, allocations: 189.3 kB / 21.35 MB, free: 1.723 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.415/1.415, allocations: 222.9 MB / 247 MB, free: 4.215 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 48.02 kB / 358.7 MB, free: 8.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09879, allocations: 49.44 MB / 408.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01223/0.1111, allocations: 10.42 MB / 418.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007954/0.119, allocations: 3.952 MB / 422.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.1207, allocations: 71.75 kB / 422.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004519/0.1253, allocations: 2.196 MB / 424.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.13, allocations: 1.86 MB / 426.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.1317, allocations: 0.7409 MB / 427.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2021/0.3338, allocations: 5.18 MB / 432.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003777/0.3376, allocations: 2.871 MB / 435.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/0.3409, allocations: 1.481 MB / 436.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004086/0.345, allocations: 2.039 MB / 438.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.3462, allocations: 301 kB / 439.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.3491, allocations: 1.19 MB / 440.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002463/0.3516, allocations: 1.84 MB / 442.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003085/0.3547, allocations: 2.066 MB / 444.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009936/0.3646, allocations: 6.712 MB / 451 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.3647, allocations: 1.688 kB / 451 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3647, allocations: 4.094 kB / 451 MB, free: 3.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002695/0.365, allocations: 0 / 451 MB, free: 3.082 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01557/0.3805, allocations: 4.795 MB / 455.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.3806, allocations: 8.969 kB / 455.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02849/0.4091, allocations: 3.135 MB / 459 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009219/0.4184, allocations: 3.338 MB / 462.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.4186, allocations: 200.7 kB / 462.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.42, allocations: 270.9 kB / 462.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.4376, allocations: 8.857 MB / 471.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.4378, allocations: 57.97 kB / 471.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/0.4383, allocations: 127.3 kB / 471.8 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003304/0.4416, allocations: 1.769 MB / 473.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.4584, allocations: 7.786 MB / 481.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04938/0.5078, allocations: 35.94 MB / 0.5052 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008772/0.5167, allocations: 3.816 MB / 0.5089 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00315/0.5198, allocations: 2.168 MB / 0.511 GB, free: 2.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.5204, allocations: 327.8 kB / 0.5113 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.5204, allocations: 47.56 kB / 0.5114 GB, free: 2.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=160): time 4.608e-06/0.5205, allocations: 0 / 0.5114 GB, free: 2.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=190): time 0.06132/0.5818, allocations: 21.61 MB / 0.5325 GB, free: 12.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.582, allocations: 252.6 kB / 0.5327 GB, free: 12.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006458/0.5885, allocations: 3.943 MB / 0.5366 GB, free: 8.691 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006536/0.5891, allocations: 53.7 kB / 0.5366 GB, free: 8.633 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002363/0.5915, allocations: 2.886 MB / 0.5394 GB, free: 5.762 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001277/0.5928, allocations: 0.7584 MB / 0.5402 GB, free: 5.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/0.5947, allocations: 1.183 MB / 0.5413 GB, free: 3.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5948, allocations: 301.1 kB / 0.5416 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/0.5987, allocations: 2.385 MB / 0.5439 GB, free: 1.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007387/0.6061, allocations: 5.638 MB / 0.5494 GB, free: 9.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/0.6186, allocations: 8.572 MB / 0.5578 GB, free: 20 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/0.6187, allocations: 32.05 kB / 0.5578 GB, free: 15.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=749) (initialization): time 0.02332/0.6421, allocations: 9.654 MB / 0.5673 GB, free: 6.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.6422, allocations: 56 kB / 0.5673 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/0.6424, allocations: 112 kB / 0.5674 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006427/0.6488, allocations: 2.023 MB / 0.5694 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004787/0.6537, allocations: 1.283 MB / 0.5707 GB, free: 2.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01777/0.6715, allocations: 11.36 MB / 0.5818 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005328/0.6768, allocations: 343.5 kB / 0.5821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/0.6785, allocations: 339.2 kB / 0.5824 GB, free: 6.688 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (688): * Single equations (assignments): 684 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004903/0.6834, allocations: 1.943 MB / 0.5843 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009229/0.6843, allocations: 369.6 kB / 0.5847 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.6946, allocations: 4.887 MB / 0.5894 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.854e-05/0.6947, allocations: 24 kB / 0.5895 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.6948, allocations: 8 kB / 0.5895 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.011e-05/0.6948, allocations: 11.97 kB / 0.5895 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02183/0.7167, allocations: 9.998 MB / 0.5992 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.7167, allocations: 4 kB / 0.5992 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/0.7182, allocations: 263.6 kB / 0.5995 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005585/0.7238, allocations: 1.854 MB / 0.6013 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004403/0.7242, allocations: 32 kB / 0.6013 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.7402, allocations: 10.41 MB / 0.6115 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.7402, allocations: 4.031 kB / 0.6115 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/0.755, allocations: 7.965 MB / 0.6193 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.7564, allocations: 426.5 kB / 0.6197 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008493/0.7572, allocations: 32 kB / 0.6197 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.759, allocations: 139.8 kB / 0.6198 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.219/0.978, allocations: 104.8 kB / 0.6199 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005981/0.9787, allocations: 52.5 kB / 0.62 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004323/0.983, allocations: 2.48 MB / 0.6224 GB, free: 175.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.21e-07/0.983, allocations: 0.6562 kB / 0.6224 GB, free: 175.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006161/0.9892, allocations: 1.066 MB / 0.6235 GB, free: 175.3 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (136): * Single equations (assignments): 132 * 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,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005538/0.9897, allocations: 169.4 kB / 0.6236 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009735/0.9995, allocations: 5.833 MB / 0.6293 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.9995, allocations: 0 / 0.6293 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003608/1.003, allocations: 2.098 MB / 0.6314 GB, free: 174.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.007, allocations: 467.8 kB / 0.6318 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.023, allocations: 9.912 MB / 0.6415 GB, free: 172 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003172/1.027, allocations: 3.073 MB / 0.6445 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.028, allocations: 273.8 kB / 0.6448 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of SimCode: time 9.11e-07/1.028, allocations: 0 / 0.6448 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.07728/1.105, allocations: 74.52 MB / 0.7175 GB, free: 104.6 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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: 13.15156452904921]