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.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.001313/0.001313, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.001442/0.001442, allocations: 215 kB / 24.47 MB, free: 3.777 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.448/1.448, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> 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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 51.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2418, allocations: 49.15 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01094/0.2528, allocations: 10.8 MB / 407.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009199/0.262, allocations: 4.261 MB / 411.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.2644, allocations: 99.22 kB / 411.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006077/0.2705, allocations: 2.833 MB / 414.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005944/0.2764, allocations: 2.102 MB / 416.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.279, allocations: 1.037 MB / 417.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007773/0.2868, allocations: 5.34 MB / 422.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004404/0.2912, allocations: 3.158 MB / 426 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00334/0.2946, allocations: 1.803 MB / 427.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004349/0.2989, allocations: 2.453 MB / 430.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000985/0.2999, allocations: 388 kB / 430.6 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.3025, allocations: 1.159 MB / 431.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002797/0.3053, allocations: 2.259 MB / 434 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003685/0.309, allocations: 1.981 MB / 436 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.32, allocations: 8.417 MB / 444.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.32, allocations: 0 / 444.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.32, allocations: 0 / 444.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002576/0.3202, allocations: 0 / 444.4 MB, free: 2.875 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01567/0.3359, allocations: 5.707 MB / 450.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.336, allocations: 19.91 kB / 450.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00138/0.3373, allocations: 0.7403 MB / 450.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1751/0.5124, allocations: 12.42 MB / 463.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.5241, allocations: 4.496 MB / 467.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.5244, allocations: 250.3 kB / 468.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.5256, allocations: 327.8 kB / 468.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/0.5444, allocations: 10.32 MB / 478.7 MB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.5446, allocations: 59.58 kB / 478.8 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004654/0.5451, allocations: 151.9 kB / 478.9 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003805/0.5489, allocations: 2.029 MB / 480.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/0.5675, allocations: 8.622 MB / 489.6 MB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05647/0.6239, allocations: 37.08 MB / 0.5143 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0092/0.6331, allocations: 3.344 MB / 0.5176 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/0.636, allocations: 1.97 MB / 0.5195 GB, free: 9.418 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.6366, allocations: 209.1 kB / 0.5197 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.6366, allocations: 51.56 kB / 0.5197 GB, free: 9.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 4.368e-06/0.6366, allocations: 0 / 0.5197 GB, free: 9.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.05968/0.6963, allocations: 21.25 MB / 0.5405 GB, free: 3.863 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002135/0.6965, allocations: 256.6 kB / 0.5407 GB, free: 3.559 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006704/0.7032, allocations: 4.501 MB / 0.5451 GB, free: 15.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/0.7036, allocations: 57.7 kB / 0.5452 GB, free: 14.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002768/0.7063, allocations: 3.369 MB / 0.5485 GB, free: 11.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.7074, allocations: 0.8333 MB / 0.5493 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001825/0.7092, allocations: 1.223 MB / 0.5505 GB, free: 9.492 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.7094, allocations: 301.1 kB / 0.5508 GB, free: 9.195 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004364/0.7137, allocations: 2.335 MB / 0.553 GB, free: 6.855 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.187/0.9007, allocations: 5.986 MB / 0.5589 GB, free: 139.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.9107, allocations: 8.908 MB / 0.5676 GB, free: 133 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/0.9109, allocations: 36.44 kB / 0.5676 GB, free: 133 MB / 478.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.0187/0.9296, allocations: 9.75 MB / 0.5771 GB, free: 129.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-05/0.9297, allocations: 62.28 kB / 0.5772 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/0.9298, allocations: 123 kB / 0.5773 GB, free: 129.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/0.9358, allocations: 2.098 MB / 0.5794 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/0.9396, allocations: 1.296 MB / 0.5806 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.9586, allocations: 16.67 MB / 0.5969 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/0.9632, allocations: 351.5 kB / 0.5972 GB, free: 120 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006646/0.9639, allocations: 369.5 kB / 0.5976 GB, free: 119.6 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.003255/0.9671, allocations: 2.23 MB / 0.5998 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006733/0.9678, allocations: 407.2 kB / 0.6002 GB, free: 117.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007029/0.9748, allocations: 4.391 MB / 0.6044 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/0.9749, allocations: 27.94 kB / 0.6045 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.9749, allocations: 8 kB / 0.6045 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/0.9749, allocations: 17.7 kB / 0.6045 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/0.9908, allocations: 9.76 MB / 0.614 GB, free: 103.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.9908, allocations: 7.938 kB / 0.614 GB, free: 103.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.9922, allocations: 299.6 kB / 0.6143 GB, free: 103 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/0.9958, allocations: 1.361 MB / 0.6156 GB, free: 101.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002354/0.996, allocations: 39.83 kB / 0.6157 GB, free: 101.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/1.006, allocations: 8.76 MB / 0.6242 GB, free: 92.75 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.006, allocations: 4 kB / 0.6242 GB, free: 92.74 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009998/1.016, allocations: 7.445 MB / 0.6315 GB, free: 85.37 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/1.019, allocations: 0.6893 MB / 0.6322 GB, free: 84.69 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005808/1.019, allocations: 36.72 kB / 0.6322 GB, free: 84.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/1.021, allocations: 135.8 kB / 0.6324 GB, free: 84.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003306/1.021, allocations: 121.1 kB / 0.6325 GB, free: 84.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.021, allocations: 56 kB / 0.6325 GB, free: 84.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003273/1.025, allocations: 2.718 MB / 0.6352 GB, free: 81.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.025, allocations: 0 / 0.6352 GB, free: 81.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004281/1.029, allocations: 1.153 MB / 0.6363 GB, free: 80.48 MB / 478.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 (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.00993/1.039, allocations: 8.081 MB / 0.6442 GB, free: 72.37 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007997/1.047, allocations: 5.995 MB / 0.65 GB, free: 66.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.047, allocations: 0 / 0.65 GB, free: 66.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/1.05, allocations: 2.124 MB / 0.6521 GB, free: 64.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/1.053, allocations: 0.585 MB / 0.6527 GB, free: 63.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0665/1.12, allocations: 51.5 MB / 0.703 GB, free: 6.594 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003401/1.123, allocations: 3.004 MB / 0.7059 GB, free: 3.555 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004041/1.127, allocations: 1.925 MB / 0.7078 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002599/1.13, allocations: 2.101 MB / 0.7099 GB, free: 15.57 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/1.13, allocations: 0 / 0.7099 GB, free: 15.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3336/1.463, allocations: 87.14 MB / 0.7949 GB, free: 161 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/21.26, allocations: 15.56 kB / 0.795 GB, free: 161 MB / 0.5137 GB " [Timeout remaining time 639] (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/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/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: 27.697432668879628]