Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009148/0.0009151, allocations: 175.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.4 MB / 222.9 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006895/0.0006898, allocations: 94.3 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2295, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.03308/0.2626, allocations: 46.03 MB / 421.1 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02362/0.2863, allocations: 10.36 MB / 431.5 MB, free: 8.176 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008879/0.2952, allocations: 223.4 kB / 431.7 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008407/0.3037, allocations: 2.395 MB / 434.1 MB, free: 5.551 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02202/0.3257, allocations: 7.132 MB / 441.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004625/0.3304, allocations: 0.7294 MB / 442 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.04342/0.3738, allocations: 34.22 MB / 476.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00785/0.3817, allocations: 5.227 MB / 481.4 MB, free: 6.082 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.3845, allocations: 1.428 MB / 482.8 MB, free: 4.648 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.3875, allocations: 2.208 MB / 485 MB, free: 2.434 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006138/0.3882, allocations: 156 kB / 485.2 MB, free: 2.281 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.3903, allocations: 1.092 MB / 486.3 MB, free: 1.188 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001922/0.3923, allocations: 1.917 MB / 488.2 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.3945, allocations: 2.075 MB / 490.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006266/0.4008, allocations: 6.137 MB / 496.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4008, allocations: 0 / 496.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4008, allocations: 0 / 496.4 MB, free: 7.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002176/0.401, allocations: 0 / 496.4 MB, free: 7.02 MB / 378.7 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.009072/0.4101, allocations: 4.426 MB / 0.4891 GB, free: 2.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4102, allocations: 12.03 kB / 0.4891 GB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1772/0.5874, allocations: 3.269 MB / 0.4923 GB, free: 112.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009244/0.5967, allocations: 3.672 MB / 0.4959 GB, free: 111.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/0.597, allocations: 244.7 kB / 0.4961 GB, free: 111.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.598, allocations: 338.9 kB / 0.4965 GB, free: 111.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/0.6143, allocations: 10.34 MB / 0.5065 GB, free: 105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.6144, allocations: 51.55 kB / 0.5066 GB, free: 105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/0.6148, allocations: 157.7 kB / 0.5067 GB, free: 104.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002702/0.6176, allocations: 2.026 MB / 0.5087 GB, free: 102.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/0.6323, allocations: 8.873 MB / 0.5174 GB, free: 93.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0404/0.6727, allocations: 39.85 MB / 0.5563 GB, free: 53.33 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007536/0.6803, allocations: 4.056 MB / 0.5603 GB, free: 49.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/0.6828, allocations: 2.233 MB / 0.5625 GB, free: 46.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.6833, allocations: 0.6478 MB / 0.5631 GB, free: 46.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6834, allocations: 55.5 kB / 0.5631 GB, free: 46.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=175): time 6.251e-06/0.6834, allocations: 4 kB / 0.5631 GB, free: 46.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.05398/0.7374, allocations: 22.94 MB / 0.5855 GB, free: 22.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/0.7375, allocations: 252.6 kB / 0.5858 GB, free: 22.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005228/0.7428, allocations: 4.24 MB / 0.5899 GB, free: 18.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005575/0.7433, allocations: 53.7 kB / 0.59 GB, free: 18.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.7449, allocations: 3.198 MB / 0.5931 GB, free: 15.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008212/0.7458, allocations: 0.8059 MB / 0.5939 GB, free: 14.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.7461, allocations: 124 kB / 0.594 GB, free: 14.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002385/0.7463, allocations: 0.5666 MB / 0.5946 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/0.7494, allocations: 2.53 MB / 0.597 GB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004497/0.7539, allocations: 6.103 MB / 0.603 GB, free: 3.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.7646, allocations: 9.26 MB / 0.612 GB, free: 8.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/0.7648, allocations: 36 kB / 0.6121 GB, free: 8.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02363/0.7884, allocations: 10.71 MB / 0.6225 GB, free: 13.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.7886, allocations: 56 kB / 0.6226 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002582/0.7889, allocations: 124.9 kB / 0.6227 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007717/0.7967, allocations: 2.595 MB / 0.6252 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004538/0.8012, allocations: 1.361 MB / 0.6266 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/0.8258, allocations: 17.28 MB / 0.6434 GB, free: 7.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005044/0.8309, allocations: 367.4 kB / 0.6438 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001251/0.8322, allocations: 372 kB / 0.6441 GB, free: 6.891 MB / 426.7 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 (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 35,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.00529/0.8375, allocations: 2.247 MB / 0.6463 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/0.8387, allocations: 383 kB / 0.6467 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2034/1.042, allocations: 5.135 MB / 0.6517 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.162e-05/1.042, allocations: 23.34 kB / 0.6517 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/1.042, allocations: 11.75 kB / 0.6517 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-05/1.042, allocations: 11.3 kB / 0.6518 GB, free: 140.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02257/1.065, allocations: 11.1 MB / 0.6626 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/1.065, allocations: 2.031 kB / 0.6626 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.066, allocations: 304.2 kB / 0.6629 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005117/1.072, allocations: 1.85 MB / 0.6647 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004324/1.072, allocations: 35.14 kB / 0.6647 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/1.084, allocations: 9.698 MB / 0.6742 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.084, allocations: 4.875 kB / 0.6742 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.096, allocations: 8.321 MB / 0.6823 GB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002156/1.098, allocations: 0.7702 MB / 0.6831 GB, free: 126.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009295/1.099, allocations: 38.72 kB / 0.6831 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.101, allocations: 146.7 kB / 0.6833 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004755/1.102, allocations: 125.1 kB / 0.6834 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.102, allocations: 56.77 kB / 0.6834 GB, free: 126.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004278/1.106, allocations: 2.661 MB / 0.686 GB, free: 123.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.106, allocations: 2.969 kB / 0.686 GB, free: 123.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006085/1.113, allocations: 1.211 MB / 0.6872 GB, free: 122.5 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006627/1.113, allocations: 171 kB / 0.6874 GB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00956/1.123, allocations: 6.598 MB / 0.6938 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.123, allocations: 0 / 0.6938 GB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003188/1.126, allocations: 2.236 MB / 0.696 GB, free: 113.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/1.131, allocations: 0.5124 MB / 0.6965 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/1.15, allocations: 12.94 MB / 0.7091 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004439/1.155, allocations: 3.504 MB / 0.7126 GB, free: 96.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/1.156, allocations: 303.4 kB / 0.7128 GB, free: 96.49 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/1.156, allocations: 0 / 0.7128 GB, free: 96.49 MB / 426.7 MB Notification: Performance of Templates: time 0.2702/1.426, allocations: 104 MB / 0.8144 GB, free: 131.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches