Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.001813/0.001813, allocations: 80.28 kB / 21.25 MB, free: 0.543 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.001802/0.001802, allocations: 160 kB / 24.5 MB, free: 3.723 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.463/1.463, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.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: 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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.92 kB / 325.5 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08931, allocations: 53.39 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01309/0.1024, allocations: 10.34 MB / 389.3 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008312/0.1107, allocations: 4.16 MB / 393.4 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001579/0.1123, allocations: 95.44 kB / 393.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005602/0.1179, allocations: 2.807 MB / 396.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.1226, allocations: 1.988 MB / 398.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.1248, allocations: 1.029 MB / 399.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007607/0.1324, allocations: 5.608 MB / 404.9 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0037/0.1361, allocations: 3.05 MB / 408 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.1385, allocations: 1.733 MB / 409.7 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003211/0.1417, allocations: 2.344 MB / 412.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006233/0.1423, allocations: 360 kB / 412.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.1443, allocations: 1.139 MB / 413.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002036/0.1464, allocations: 2.127 MB / 415.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.1485, allocations: 1.744 MB / 417.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008464/0.157, allocations: 7.611 MB / 425 MB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.157, allocations: 4 kB / 425 MB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.157, allocations: 0 / 425 MB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.1571, allocations: 0 / 425 MB, free: 1.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01015/0.1673, allocations: 5.25 MB / 430.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1673, allocations: 11.98 kB / 430.3 MB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02769/0.195, allocations: 3.271 MB / 433.6 MB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008636/0.2036, allocations: 3.469 MB / 437 MB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.2039, allocations: 238.1 kB / 437.3 MB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008029/0.2047, allocations: 331.7 kB / 437.6 MB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0166/0.2213, allocations: 9.955 MB / 447.6 MB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.2214, allocations: 55.58 kB / 447.6 MB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.2218, allocations: 147.9 kB / 447.8 MB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003458/0.2253, allocations: 1.904 MB / 449.7 MB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.2411, allocations: 8.472 MB / 458.1 MB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.221/0.4621, allocations: 35.45 MB / 493.6 MB, free: 57.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008473/0.4705, allocations: 3.451 MB / 497 MB, free: 56.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002488/0.473, allocations: 2.048 MB / 499.1 MB, free: 56.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005023/0.4735, allocations: 209 kB / 499.3 MB, free: 56.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.4736, allocations: 51.66 kB / 499.3 MB, free: 55.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 5.17e-06/0.4736, allocations: 0.625 kB / 499.3 MB, free: 55.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.05453/0.5281, allocations: 23.01 MB / 0.5101 GB, free: 42.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.5282, allocations: 252.6 kB / 0.5103 GB, free: 41.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/0.5321, allocations: 3.948 MB / 0.5142 GB, free: 37.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004474/0.5326, allocations: 53.7 kB / 0.5142 GB, free: 37.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.534, allocations: 3.227 MB / 0.5174 GB, free: 34.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007541/0.5348, allocations: 0.8074 MB / 0.5182 GB, free: 34.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001289/0.5361, allocations: 1.254 MB / 0.5194 GB, free: 32.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.5361, allocations: 309.1 kB / 0.5197 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002626/0.5388, allocations: 2.483 MB / 0.5221 GB, free: 30.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004208/0.543, allocations: 6.081 MB / 0.5281 GB, free: 22.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007662/0.5506, allocations: 9.072 MB / 0.5369 GB, free: 11.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.938e-05/0.5507, allocations: 37.78 kB / 0.537 GB, free: 11.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01681/0.5675, allocations: 10.5 MB / 0.5472 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/0.5676, allocations: 56 kB / 0.5473 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.243e-05/0.5677, allocations: 120 kB / 0.5474 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007512/0.5752, allocations: 2.594 MB / 0.5499 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/0.5795, allocations: 1.306 MB / 0.5512 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02767/0.6072, allocations: 18.07 MB / 0.5688 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/0.612, allocations: 371.2 kB / 0.5692 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/0.6131, allocations: 356 kB / 0.5695 GB, free: 9.816 MB / 462.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: 35 (freeMotionScalarInit.arrow.arrow.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.004389/0.6174, allocations: 2.131 MB / 0.5716 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/0.6185, allocations: 353.7 kB / 0.572 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/0.6293, allocations: 4.98 MB / 0.5768 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/0.6294, allocations: 23.94 kB / 0.5768 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/0.6294, allocations: 8.656 kB / 0.5768 GB, free: 2.297 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/0.6294, allocations: 7.969 kB / 0.5769 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02005/0.6495, allocations: 9.427 MB / 0.5861 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.6495, allocations: 3.812 kB / 0.5861 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.6509, allocations: 287.6 kB / 0.5863 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005547/0.6565, allocations: 1.842 MB / 0.5881 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000249/0.6567, allocations: 36 kB / 0.5882 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/0.6723, allocations: 10.16 MB / 0.5981 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6723, allocations: 3.938 kB / 0.5981 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/0.687, allocations: 8.12 MB / 0.606 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/0.6881, allocations: 329.5 kB / 0.6063 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006599/0.6888, allocations: 36 kB / 0.6064 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/0.6906, allocations: 139.7 kB / 0.6065 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/0.691, allocations: 125 kB / 0.6066 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.6912, allocations: 52 kB / 0.6067 GB, free: 3.613 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003772/0.695, allocations: 2.312 MB / 0.6089 GB, free: 1.316 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.695, allocations: 0 / 0.6089 GB, free: 1.316 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005616/0.7006, allocations: 1.152 MB / 0.6101 GB, free: 168 kB / 494.1 MB 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.0005451/0.7011, allocations: 173 kB / 0.6102 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01104/0.7122, allocations: 6.245 MB / 0.6163 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.7122, allocations: 4 kB / 0.6163 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/0.7158, allocations: 1.991 MB / 0.6183 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/0.7193, allocations: 0.5134 MB / 0.6188 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.7379, allocations: 10.45 MB / 0.629 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004182/0.742, allocations: 2.861 MB / 0.6318 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004369/0.7464, allocations: 1.831 MB / 0.6336 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007247/0.7471, allocations: 232.5 kB / 0.6338 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.7471, allocations: 4 kB / 0.6338 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.2571/1.004, allocations: 45.39 MB / 0.6781 GB, free: 188.9 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.751479489961639]