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/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_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_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.0009879/0.0009879, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.456/1.456, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.001019/0.001019, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.78e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3949/0.5067, allocations: 97.59 MB / 467.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/0.5071, allocations: 90.33 kB / 467.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7826/1.29, allocations: 94.87 MB / 0.5494 GB, free: 91.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.29, allocations: 0 / 0.5494 GB, free: 91.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003436/1.29, allocations: 97.19 kB / 0.5495 GB, free: 91.51 MB / 410.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.02297/1.313, allocations: 4.495 MB / 0.5539 GB, free: 89.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.313, allocations: 11.62 kB / 0.5539 GB, free: 89.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04043/1.354, allocations: 6.731 MB / 0.5605 GB, free: 89.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.37, allocations: 6.18 MB / 0.5665 GB, free: 88.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/1.371, allocations: 329.3 kB / 0.5668 GB, free: 88.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002803/1.373, allocations: 443.9 kB / 0.5672 GB, free: 88.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02392/1.397, allocations: 10.43 MB / 0.5774 GB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/1.398, allocations: 69.06 kB / 0.5775 GB, free: 85.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009609/1.399, allocations: 208.2 kB / 0.5777 GB, free: 85.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001219/1.4, allocations: 1.011 MB / 0.5787 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01669/1.417, allocations: 8.566 MB / 0.587 GB, free: 82.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05158/1.468, allocations: 46.15 MB / 0.6321 GB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008158/1.476, allocations: 3.982 MB / 0.636 GB, free: 40.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/1.479, allocations: 2.009 MB / 0.6379 GB, free: 38.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/1.479, allocations: 0.6653 MB / 0.6386 GB, free: 37.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.479, allocations: 47.56 kB / 0.6386 GB, free: 37.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 6.021e-06/1.479, allocations: 0 / 0.6386 GB, free: 37.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.05236/1.532, allocations: 18.87 MB / 0.6571 GB, free: 19.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/1.532, allocations: 252.6 kB / 0.6573 GB, free: 19.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005388/1.537, allocations: 3.722 MB / 0.661 GB, free: 15.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004301/1.538, allocations: 57.53 kB / 0.661 GB, free: 15.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001497/1.539, allocations: 3.255 MB / 0.6642 GB, free: 12.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007173/1.54, allocations: 0.8012 MB / 0.665 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/1.54, allocations: 120 kB / 0.6651 GB, free: 11.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002411/1.54, allocations: 0.5543 MB / 0.6656 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002629/1.543, allocations: 2.218 MB / 0.6678 GB, free: 8.809 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/1.547, allocations: 5.752 MB / 0.6734 GB, free: 1.281 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/1.552, allocations: 3.552 MB / 0.6769 GB, free: 13.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-05/1.552, allocations: 36 kB / 0.6769 GB, free: 13.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01849/1.57, allocations: 9.442 MB / 0.6861 GB, free: 4.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/1.57, allocations: 60 kB / 0.6862 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/1.571, allocations: 124 kB / 0.6863 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005734/1.576, allocations: 1.986 MB / 0.6882 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004696/1.581, allocations: 1.298 MB / 0.6895 GB, free: 0.7539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2571/1.838, allocations: 14.95 MB / 0.7041 GB, free: 88.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/1.843, allocations: 337.1 kB / 0.7044 GB, free: 88.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/1.845, allocations: 367.1 kB / 0.7048 GB, free: 88.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 691 * 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,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001032/1.846, allocations: 0.5587 MB / 0.7053 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008192/1.846, allocations: 390.4 kB / 0.7057 GB, free: 87.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008902/1.855, allocations: 4.169 MB / 0.7098 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/1.855, allocations: 19.66 kB / 0.7098 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.856, allocations: 7.875 kB / 0.7098 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/1.856, allocations: 11.31 kB / 0.7098 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.875, allocations: 9.972 MB / 0.7196 GB, free: 85.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/1.875, allocations: 0.6875 kB / 0.7196 GB, free: 85.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.876, allocations: 299.4 kB / 0.7198 GB, free: 85.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/1.879, allocations: 1.214 MB / 0.721 GB, free: 85.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/1.879, allocations: 39.88 kB / 0.7211 GB, free: 85.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008708/1.888, allocations: 7.548 MB / 0.7284 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.888, allocations: 3.906 kB / 0.7284 GB, free: 82.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009641/1.898, allocations: 7.164 MB / 0.7354 GB, free: 79.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002157/1.9, allocations: 0.7258 MB / 0.7361 GB, free: 78.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005251/1.901, allocations: 37.28 kB / 0.7362 GB, free: 78.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.902, allocations: 124.1 kB / 0.7363 GB, free: 78.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/1.903, allocations: 119.3 kB / 0.7364 GB, free: 78.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.903, allocations: 59.33 kB / 0.7365 GB, free: 78.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005293/1.908, allocations: 2.611 MB / 0.739 GB, free: 77.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.908, allocations: 0 / 0.739 GB, free: 77.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006275/1.914, allocations: 1.141 MB / 0.7401 GB, free: 77.78 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 () * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005622/1.915, allocations: 186.4 kB / 0.7403 GB, free: 77.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009059/1.924, allocations: 5.941 MB / 0.7461 GB, free: 75.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.924, allocations: 0 / 0.7461 GB, free: 75.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003381/1.927, allocations: 2.078 MB / 0.7481 GB, free: 74.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/1.931, allocations: 0.5263 MB / 0.7487 GB, free: 74.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.951, allocations: 8.592 MB / 0.757 GB, free: 71.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006029/1.958, allocations: 3.627 MB / 0.7606 GB, free: 70.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005582/1.963, allocations: 1.939 MB / 0.7625 GB, free: 70.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.964, allocations: 258.7 kB / 0.7627 GB, free: 70.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.964, allocations: 0 / 0.7627 GB, free: 70.23 MB / 426.7 MB Notification: Performance of Templates: time 0.07518/2.04, allocations: 45.91 MB / 0.8076 GB, free: 32.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches