Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 184 kB / 18.05 MB, free: 3.754 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.372/1.372, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007447/0.0007448, allocations: 78.42 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 8 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.218, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.3342, allocations: 103.1 MB / 480.1 MB, free: 9.398 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.3345, allocations: 99.94 kB / 480.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.475/0.8095, allocations: 137.6 MB / 0.6033 GB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.8095, allocations: 4 kB / 0.6033 GB, free: 13.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004502/0.81, allocations: 147.9 kB / 0.6035 GB, free: 13.43 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: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.02001/0.83, allocations: 7.832 MB / 0.6111 GB, free: 5.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.83, allocations: 8.031 kB / 0.6111 GB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03206/0.8621, allocations: 8.438 MB / 0.6194 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/0.883, allocations: 9.26 MB / 0.6284 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004738/0.8835, allocations: 0.518 MB / 0.6289 GB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00262/0.8862, allocations: 0.707 MB / 0.6296 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2302/1.116, allocations: 17.2 MB / 0.6464 GB, free: 59.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005471/1.117, allocations: 101.2 kB / 0.6465 GB, free: 59.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002587/1.12, allocations: 333.9 kB / 0.6468 GB, free: 59.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001856/1.121, allocations: 1.456 MB / 0.6482 GB, free: 59.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02772/1.149, allocations: 14.26 MB / 0.6622 GB, free: 59.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07273/1.222, allocations: 73.19 MB / 0.7336 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01986/1.242, allocations: 8.61 MB / 0.742 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004976/1.247, allocations: 4.767 MB / 0.7467 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02262/1.27, allocations: 17.6 MB / 0.7639 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.27, allocations: 66.53 kB / 0.7639 GB, free: 2.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 5.941e-06/1.27, allocations: 0 / 0.7639 GB, free: 2.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=374): time 0.4346/1.704, allocations: 69.33 MB / 0.8316 GB, free: 108.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.704, allocations: 373.1 kB / 0.832 GB, free: 107.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00899/1.713, allocations: 6.252 MB / 0.8381 GB, free: 107.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009022/1.714, allocations: 84.78 kB / 0.8382 GB, free: 107.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00316/1.718, allocations: 4.884 MB / 0.843 GB, free: 106 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.719, allocations: 1.379 MB / 0.8443 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008667/1.72, allocations: 174.5 kB / 0.8445 GB, free: 105.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004033/1.721, allocations: 0.6874 MB / 0.8451 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007099/1.728, allocations: 5.496 MB / 0.8505 GB, free: 104.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/1.738, allocations: 10.49 MB / 0.8608 GB, free: 98.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01802/1.756, allocations: 17.1 MB / 0.8775 GB, free: 88.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000278/1.757, allocations: 47.66 kB / 0.8775 GB, free: 88.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.04214/1.799, allocations: 21.37 MB / 0.8984 GB, free: 80.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1.799, allocations: 87.22 kB / 0.8985 GB, free: 80.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/1.799, allocations: 171 kB / 0.8986 GB, free: 80.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01765/1.817, allocations: 6.507 MB / 0.905 GB, free: 79.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007231/1.824, allocations: 2.049 MB / 0.907 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03764/1.862, allocations: 32.41 MB / 0.9386 GB, free: 53.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009266/1.871, allocations: 0.6928 MB / 0.9393 GB, free: 53.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002512/1.874, allocations: 0.5173 MB / 0.9398 GB, free: 52.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 787 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1023): * Single equations (assignments): 1016 * Array equations: 4 * 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 {(6,77.8%) 67,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.00774/1.882, allocations: 3.434 MB / 0.9432 GB, free: 49.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/1.883, allocations: 0.5939 MB / 0.9437 GB, free: 49.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0281/1.911, allocations: 15.49 MB / 0.9589 GB, free: 36.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.506e-05/1.911, allocations: 51.2 kB / 0.9589 GB, free: 36.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.488e-05/1.911, allocations: 16 kB / 0.9589 GB, free: 36.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-05/1.911, allocations: 19.88 kB / 0.9589 GB, free: 36.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2531/2.165, allocations: 30.49 MB / 0.9887 GB, free: 95.78 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/2.165, allocations: 3.781 kB / 0.9887 GB, free: 95.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002958/2.168, allocations: 0.5841 MB / 0.9893 GB, free: 95.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01659/2.184, allocations: 6.154 MB / 0.9953 GB, free: 95.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000869/2.185, allocations: 64.41 kB / 0.9954 GB, free: 95.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03989/2.225, allocations: 30.78 MB / 1.025 GB, free: 91.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/2.225, allocations: 6.156 kB / 1.025 GB, free: 91.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03578/2.261, allocations: 22.73 MB / 1.048 GB, free: 84.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003967/2.265, allocations: 1.57 MB / 1.049 GB, free: 83.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/2.266, allocations: 63.05 kB / 1.049 GB, free: 83.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/2.27, allocations: 405.9 kB / 1.05 GB, free: 83.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/2.271, allocations: 254.5 kB / 1.05 GB, free: 83.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/2.271, allocations: 95.7 kB / 1.05 GB, free: 83.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006187/2.277, allocations: 3.95 MB / 1.054 GB, free: 82.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.277, allocations: 0 / 1.054 GB, free: 82.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01078/2.288, allocations: 2.179 MB / 1.056 GB, free: 82.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * 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 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/2.289, allocations: 274.8 kB / 1.056 GB, free: 81.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01902/2.308, allocations: 13.92 MB / 1.07 GB, free: 75.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/2.308, allocations: 0 / 1.07 GB, free: 75.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008796/2.317, allocations: 6.357 MB / 1.076 GB, free: 69.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008478/2.326, allocations: 0.8879 MB / 1.077 GB, free: 69.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/2.361, allocations: 22.35 MB / 1.099 GB, free: 48.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007904/2.369, allocations: 5.283 MB / 1.104 GB, free: 44.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008319/2.378, allocations: 3.041 MB / 1.107 GB, free: 43.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/2.379, allocations: 390.3 kB / 1.107 GB, free: 42.68 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/2.379, allocations: 0 / 1.107 GB, free: 42.68 MB / 458.7 MB Notification: Performance of Templates: time 0.364/2.743, allocations: 99.43 MB / 1.204 GB, free: 83.88 MB / 458.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches