Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.001908/0.001908, allocations: 116.9 kB / 18.41 MB, free: 4.516 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.002139/0.002139, allocations: 186.9 kB / 21.34 MB, free: 1.59 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.428/1.428, allocations: 222.9 MB / 247.1 MB, free: 4.184 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.DoublePendulumInitTip,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.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,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.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 51.91 kB / 358.7 MB, free: 8.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1016, allocations: 49.43 MB / 408.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01398/0.1157, allocations: 11.91 MB / 420 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009389/0.1251, allocations: 4.343 MB / 424.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.1276, allocations: 79.69 kB / 424.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005855/0.1335, allocations: 2.889 MB / 427.3 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005689/0.1392, allocations: 1.976 MB / 429.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.1418, allocations: 1.045 MB / 430.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2184/0.3602, allocations: 5.546 MB / 435.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005287/0.3655, allocations: 3.991 MB / 439.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.3691, allocations: 1.722 MB / 441.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004293/0.3734, allocations: 2.306 MB / 443.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00143/0.3749, allocations: 365.8 kB / 444.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.3785, allocations: 1.247 MB / 445.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003334/0.3818, allocations: 2.125 MB / 447.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003879/0.3857, allocations: 2.396 MB / 450 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009448/0.3952, allocations: 7.747 MB / 457.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3952, allocations: 3.938 kB / 457.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3952, allocations: 2.625 kB / 457.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002466/0.3955, allocations: 4 kB / 457.8 MB, free: 0.9023 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: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01433/0.4098, allocations: 5.381 MB / 463.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4099, allocations: 14.25 kB / 463.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02696/0.4369, allocations: 3.192 MB / 466.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/0.4472, allocations: 3.616 MB / 470 MB, free: 8.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.4475, allocations: 237.2 kB / 470.2 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.4488, allocations: 333.4 kB / 470.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01971/0.4685, allocations: 10.02 MB / 480.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.4687, allocations: 53.05 kB / 480.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004669/0.4692, allocations: 151.8 kB / 480.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003699/0.4729, allocations: 1.959 MB / 482.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/0.4913, allocations: 8.584 MB / 491.3 MB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05694/0.5483, allocations: 38.73 MB / 0.5176 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009208/0.5575, allocations: 3.943 MB / 0.5215 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/0.5607, allocations: 2.185 MB / 0.5236 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007955/0.5615, allocations: 0.6454 MB / 0.5242 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.5616, allocations: 51.56 kB / 0.5243 GB, free: 5.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 5.591e-06/0.5616, allocations: 0 / 0.5243 GB, free: 5.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.06515/0.6268, allocations: 22.84 MB / 0.5466 GB, free: 14.08 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.627, allocations: 252.6 kB / 0.5468 GB, free: 13.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007377/0.6344, allocations: 4.191 MB / 0.5509 GB, free: 9.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007131/0.6351, allocations: 49.7 kB / 0.551 GB, free: 9.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00288/0.638, allocations: 3.238 MB / 0.5541 GB, free: 6.293 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001335/0.6394, allocations: 0.807 MB / 0.5549 GB, free: 5.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002159/0.6415, allocations: 1.268 MB / 0.5562 GB, free: 4.219 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.6418, allocations: 301.1 kB / 0.5565 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004079/0.6458, allocations: 2.491 MB / 0.5589 GB, free: 1.426 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00732/0.6532, allocations: 5.978 MB / 0.5647 GB, free: 9.734 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/0.6663, allocations: 9.067 MB / 0.5736 GB, free: 15.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001167/0.6664, allocations: 39.94 kB / 0.5736 GB, free: 14.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.02448/0.6909, allocations: 10.56 MB / 0.5839 GB, free: 4.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.6911, allocations: 56 kB / 0.584 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001768/0.6912, allocations: 120 kB / 0.5841 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008405/0.6997, allocations: 2.601 MB / 0.5866 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004499/0.7042, allocations: 1.318 MB / 0.5879 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02743/0.7317, allocations: 18.65 MB / 0.6061 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00537/0.7371, allocations: 367.5 kB / 0.6065 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/0.7384, allocations: 367.9 kB / 0.6068 GB, free: 12.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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 (709): * Single equations (assignments): 703 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.005492/0.744, allocations: 2.159 MB / 0.609 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/0.7452, allocations: 389.4 kB / 0.6093 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.7572, allocations: 5.03 MB / 0.6142 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.241e-05/0.7572, allocations: 30.75 kB / 0.6143 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-05/0.7573, allocations: 11.94 kB / 0.6143 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.033e-05/0.7573, allocations: 7.969 kB / 0.6143 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2326/0.9899, allocations: 10.78 MB / 0.6248 GB, free: 170 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.9899, allocations: 3.406 kB / 0.6248 GB, free: 170 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.9915, allocations: 284.2 kB / 0.6251 GB, free: 170 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005483/0.997, allocations: 1.848 MB / 0.6269 GB, free: 170 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004364/0.9974, allocations: 33.61 kB / 0.6269 GB, free: 170 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/1.012, allocations: 10.41 MB / 0.6371 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.012, allocations: 5.156 kB / 0.6371 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.025, allocations: 8.184 MB / 0.6451 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.027, allocations: 450.2 kB / 0.6455 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/1.028, allocations: 30.88 kB / 0.6456 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.03, allocations: 144.3 kB / 0.6457 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/1.031, allocations: 117.2 kB / 0.6458 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.031, allocations: 54.48 kB / 0.6459 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004835/1.036, allocations: 2.626 MB / 0.6484 GB, free: 164.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/1.036, allocations: 1.688 kB / 0.6484 GB, free: 164.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007485/1.044, allocations: 1.177 MB / 0.6496 GB, free: 164.2 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 (147): * Single equations (assignments): 143 * 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.0008187/1.044, allocations: 174.7 kB / 0.6497 GB, free: 164.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01053/1.055, allocations: 6.52 MB / 0.6561 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.055, allocations: 1.906 kB / 0.6561 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003226/1.058, allocations: 2.155 MB / 0.6582 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005634/1.064, allocations: 0.5694 MB / 0.6588 GB, free: 160.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/1.086, allocations: 10.95 MB / 0.6695 GB, free: 150.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005611/1.092, allocations: 3.42 MB / 0.6728 GB, free: 147.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/1.093, allocations: 286.8 kB / 0.6731 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.283e-06/1.093, allocations: 0 / 0.6731 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.1067/1.2, allocations: 102.4 MB / 0.7731 GB, free: 45.33 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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: 14.397214679047465]