Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001252/0.001252, allocations: 121.4 kB / 18.45 MB, free: 4.477 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.001286/0.001286, allocations: 189.2 kB / 21.39 MB, free: 1.543 MB / 14.72 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 1.391/1.391, allocations: 207.6 MB / 231.8 MB, free: 4.18 MB / 174.1 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.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 51.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08739, allocations: 49.12 MB / 391.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01428/0.1017, allocations: 12.38 MB / 403.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009287/0.111, allocations: 4.461 MB / 408.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.1129, allocations: 83.69 kB / 408.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005663/0.1186, allocations: 2.939 MB / 411.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005066/0.1236, allocations: 2.082 MB / 413.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.126, allocations: 1.049 MB / 414.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007399/0.1334, allocations: 5.319 MB / 419.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004925/0.1383, allocations: 3.384 MB / 423.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.1414, allocations: 1.783 MB / 424.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004018/0.1454, allocations: 2.593 MB / 427.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.1465, allocations: 384 kB / 427.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.1493, allocations: 1.291 MB / 429.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002932/0.1522, allocations: 2.255 MB / 431.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003789/0.156, allocations: 2.618 MB / 434 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009766/0.1658, allocations: 8.386 MB / 442.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1658, allocations: 0 / 442.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1658, allocations: 0 / 442.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001959/0.166, allocations: 0 / 442.4 MB, free: 5.504 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01373/0.1797, allocations: 5.798 MB / 448.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1797, allocations: 8.031 kB / 448.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001095/0.1808, allocations: 0.7403 MB / 448.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.144/0.3249, allocations: 12.42 MB / 461.3 MB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1774/0.5022, allocations: 4.548 MB / 465.9 MB, free: 60.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.5024, allocations: 248.5 kB / 466.1 MB, free: 60.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007939/0.5032, allocations: 341.5 kB / 466.5 MB, free: 60.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01433/0.5175, allocations: 10.21 MB / 476.7 MB, free: 55.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/0.5177, allocations: 56.11 kB / 476.7 MB, free: 55.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003826/0.518, allocations: 159 kB / 476.9 MB, free: 55.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002741/0.5208, allocations: 2.026 MB / 478.9 MB, free: 55.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01275/0.5335, allocations: 8.648 MB / 487.6 MB, free: 49.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03491/0.5684, allocations: 39.21 MB / 0.5144 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006861/0.5753, allocations: 3.806 MB / 0.5182 GB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.5772, allocations: 1.964 MB / 0.5201 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004849/0.5777, allocations: 0.6516 MB / 0.5207 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5777, allocations: 47.55 kB / 0.5208 GB, free: 3.426 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 3.928e-06/0.5777, allocations: 8 kB / 0.5208 GB, free: 3.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05348/0.6312, allocations: 21.32 MB / 0.5416 GB, free: 14.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.6313, allocations: 256.6 kB / 0.5418 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006085/0.6374, allocations: 4.3 MB / 0.546 GB, free: 9.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003585/0.6378, allocations: 53.7 kB / 0.5461 GB, free: 9.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002588/0.6404, allocations: 3.369 MB / 0.5494 GB, free: 6.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.6414, allocations: 0.8294 MB / 0.5502 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001629/0.643, allocations: 1.219 MB / 0.5514 GB, free: 4.039 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6431, allocations: 309.1 kB / 0.5517 GB, free: 3.734 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/0.6466, allocations: 2.338 MB / 0.5539 GB, free: 1.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006212/0.6528, allocations: 5.889 MB / 0.5597 GB, free: 9.738 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.6635, allocations: 8.913 MB / 0.5684 GB, free: 15.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.632e-05/0.6636, allocations: 40 kB / 0.5684 GB, free: 15.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01824/0.6818, allocations: 9.757 MB / 0.578 GB, free: 5.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.6819, allocations: 56 kB / 0.578 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/0.6821, allocations: 126.4 kB / 0.5781 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006093/0.6882, allocations: 2.084 MB / 0.5802 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/0.6923, allocations: 1.298 MB / 0.5814 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/0.7165, allocations: 17.17 MB / 0.5982 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/0.7208, allocations: 355.6 kB / 0.5986 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009262/0.7218, allocations: 364 kB / 0.5989 GB, free: 15.39 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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 (693): * Single equations (assignments): 687 * 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,88.9%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003935/0.7257, allocations: 2.216 MB / 0.6011 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008716/0.7266, allocations: 409.3 kB / 0.6015 GB, free: 12.76 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008905/0.7355, allocations: 4.392 MB / 0.6057 GB, free: 8.34 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.831e-05/0.7355, allocations: 24 kB / 0.6058 GB, free: 8.316 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.7355, allocations: 8 kB / 0.6058 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/0.7355, allocations: 15.95 kB / 0.6058 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/0.7567, allocations: 10.33 MB / 0.6159 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.7567, allocations: 4.062 kB / 0.6159 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.7582, allocations: 308.7 kB / 0.6162 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003914/0.7621, allocations: 1.355 MB / 0.6175 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/0.7623, allocations: 35.98 kB / 0.6175 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.7756, allocations: 8.972 MB / 0.6263 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7756, allocations: 0 / 0.6263 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/0.7882, allocations: 7.438 MB / 0.6336 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/0.7905, allocations: 0.7637 MB / 0.6343 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007784/0.7912, allocations: 32 kB / 0.6343 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/0.7931, allocations: 119.8 kB / 0.6344 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/0.7935, allocations: 133 kB / 0.6346 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/0.7937, allocations: 59.97 kB / 0.6346 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005028/0.7987, allocations: 2.718 MB / 0.6373 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7987, allocations: 288 / 0.6373 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005406/0.8041, allocations: 1.144 MB / 0.6384 GB, free: 6.578 MB / 0.4981 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 (157): * Single equations (assignments): 153 * 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 {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1807/0.9849, allocations: 8.09 MB / 0.6463 GB, free: 167.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009228/0.9941, allocations: 5.989 MB / 0.6521 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.9941, allocations: 0.8438 kB / 0.6522 GB, free: 166.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003616/0.9977, allocations: 2.109 MB / 0.6542 GB, free: 165.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/1.001, allocations: 0.5892 MB / 0.6548 GB, free: 165.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05604/1.057, allocations: 51.43 MB / 0.705 GB, free: 125.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/1.06, allocations: 3.527 MB / 0.7084 GB, free: 122.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003507/1.063, allocations: 1.932 MB / 0.7103 GB, free: 120.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/1.065, allocations: 2.093 MB / 0.7124 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.392e-06/1.065, allocations: 0 / 0.7124 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/1.184, allocations: 86.44 MB / 0.7968 GB, free: 31.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/23.38, allocations: 8 kB / 0.7968 GB, free: 31.59 MB / 0.4981 GB " [Timeout remaining time 636] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 31.122005264274776]