Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 167 kB / 25.7 MB, free: 8.395 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8723/0.8723, allocations: 158.6 MB / 187.6 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.753e-05, allocations: 2.312 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.008479/0.008497, allocations: 9.972 MB / 261.6 MB, free: 13.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006525/0.01502, allocations: 4.006 MB / 265.6 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.01685, allocations: 79.56 kB / 265.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.01935, allocations: 2.335 MB / 268 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.02275, allocations: 1.987 MB / 270 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.02395, allocations: 0.8304 MB / 270.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00518/0.02913, allocations: 5.508 MB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.03215, allocations: 2.873 MB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003446/0.0356, allocations: 2.869 MB / 282 MB, free: 8.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/0.03864, allocations: 2.264 MB / 284.3 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009182/0.03956, allocations: 312 kB / 284.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.0414, allocations: 1.186 MB / 285.8 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.04306, allocations: 2.014 MB / 287.8 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.04535, allocations: 1.231 MB / 289 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.05055, allocations: 4.55 MB / 293.6 MB, free: 13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.05055, allocations: 3.938 kB / 293.6 MB, free: 13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.05055, allocations: 0 / 293.6 MB, free: 13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.05066, allocations: 0 / 293.6 MB, free: 13 MB / 282.7 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.005692/0.05635, allocations: 4.348 MB / 297.9 MB, free: 8.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.05639, allocations: 11.98 kB / 298 MB, free: 8.582 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/0.06034, allocations: 1.206 MB / 299.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.06337, allocations: 2.152 MB / 301.3 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.06349, allocations: 193.4 kB / 301.5 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004178/0.06391, allocations: 275.7 kB / 301.8 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005665/0.06958, allocations: 4.427 MB / 306.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-05/0.06966, allocations: 47.58 kB / 306.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.06987, allocations: 127.9 kB / 306.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001312/0.07119, allocations: 1.517 MB / 307.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004238/0.07542, allocations: 2.192 MB / 310.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02528/0.1007, allocations: 28.09 MB / 338.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002968/0.1037, allocations: 1.268 MB / 339.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.1041, allocations: 309.3 kB / 339.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004655/0.1088, allocations: 3.251 MB / 343 MB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1088, allocations: 43.22 kB / 343 MB, free: 9.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=121): time 3.777e-06/0.1088, allocations: 0 / 343 MB, free: 9.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.01347/0.1223, allocations: 5.399 MB / 348.4 MB, free: 4.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.1224, allocations: 244 kB / 348.7 MB, free: 3.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.1252, allocations: 3.143 MB / 351.8 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/0.1253, allocations: 41.7 kB / 351.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1098/0.2351, allocations: 2.77 MB / 354.6 MB, free: 95.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006812/0.2358, allocations: 0.5583 MB / 355.2 MB, free: 95.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008538/0.2366, allocations: 1.057 MB / 356.2 MB, free: 94.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.769e-05/0.2367, allocations: 301.1 kB / 356.5 MB, free: 94.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008899/0.2375, allocations: 0.6802 MB / 357.2 MB, free: 94.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.2391, allocations: 4.094 MB / 361.3 MB, free: 90.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.2417, allocations: 5.134 MB / 366.4 MB, free: 85.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.296e-05/0.2418, allocations: 39.69 kB / 366.5 MB, free: 85.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.004056/0.2458, allocations: 3.847 MB / 370.3 MB, free: 84.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.2459, allocations: 55.97 kB / 370.4 MB, free: 84.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-05/0.2459, allocations: 122.7 kB / 370.5 MB, free: 84.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007785/0.2467, allocations: 404.6 kB / 370.9 MB, free: 84.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.2485, allocations: 1.282 MB / 372.2 MB, free: 83.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.25, allocations: 2.175 MB / 374.3 MB, free: 81.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/0.2519, allocations: 246.8 kB / 374.6 MB, free: 81.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.2521, allocations: 290.6 kB / 374.9 MB, free: 81.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 551 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007926/0.2529, allocations: 0.566 MB / 375.4 MB, free: 81.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.2531, allocations: 207.6 kB / 375.6 MB, free: 81.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009391/0.2541, allocations: 0.7781 MB / 376.4 MB, free: 80.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.2541, allocations: 19.7 kB / 376.4 MB, free: 80.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2541, allocations: 0 / 376.4 MB, free: 80.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.2541, allocations: 7.609 kB / 376.4 MB, free: 80.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.2576, allocations: 3.565 MB / 380 MB, free: 78.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.2576, allocations: 8 kB / 380 MB, free: 78.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.258, allocations: 194.3 kB / 380.2 MB, free: 77.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006703/0.2587, allocations: 410.2 kB / 380.6 MB, free: 77.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.2587, allocations: 29.62 kB / 380.6 MB, free: 77.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.2599, allocations: 1.905 MB / 382.5 MB, free: 75.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2599, allocations: 11.94 kB / 382.6 MB, free: 75.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.2613, allocations: 1.69 MB / 384.2 MB, free: 73.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/0.2618, allocations: 418.2 kB / 384.7 MB, free: 73.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.262, allocations: 28.81 kB / 384.7 MB, free: 73.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.2626, allocations: 31.98 kB / 384.7 MB, free: 73.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2627, allocations: 96.17 kB / 384.8 MB, free: 73.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-05/0.2627, allocations: 32 kB / 384.8 MB, free: 73.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008143/0.2635, allocations: 1.192 MB / 386 MB, free: 72.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2635, allocations: 0 / 386 MB, free: 72.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002776/0.2663, allocations: 0.9905 MB / 387 MB, free: 71.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (revolute1.w,damper.phi_rel,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 (105): * Single equations (assignments): 101 * 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,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.0002811/0.2666, allocations: 165.7 kB / 387.2 MB, free: 70.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.269, allocations: 2.256 MB / 389.4 MB, free: 68.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001364/0.2691, allocations: 98.16 kB / 389.5 MB, free: 68.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.2696, allocations: 485 kB / 390 MB, free: 68.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.2718, allocations: 0.5999 MB / 390.6 MB, free: 67.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/0.2794, allocations: 6.768 MB / 397.4 MB, free: 60.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/0.2803, allocations: 1.118 MB / 398.5 MB, free: 59.53 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001213/0.2815, allocations: 470.4 kB / 399 MB, free: 59.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/0.2822, allocations: 0.5245 MB / 399.5 MB, free: 58.55 MB / 330.7 MB Notification: Performance of SimCode: time 2.245e-06/0.2822, allocations: 0 / 399.5 MB, free: 58.55 MB / 330.7 MB Notification: Performance of Templates: time 0.04933/0.3316, allocations: 30.57 MB / 430 MB, free: 28.02 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulum/DoublePendulum.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6023407159373164]