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.001038/0.001038, 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.784/1.784, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008972/0.0008974, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.055e-05, allocations: 3.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.5769, allocations: 102.8 MB / 472.8 MB, free: 6.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.5771, allocations: 90.06 kB / 472.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5991/1.176, allocations: 140.2 MB / 0.5988 GB, free: 83.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.176, allocations: 0 / 0.5988 GB, free: 83.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006347/1.177, allocations: 153.8 kB / 0.5989 GB, free: 83.5 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: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.02598/1.203, allocations: 7.492 MB / 0.6062 GB, free: 76.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.203, allocations: 12.03 kB / 0.6063 GB, free: 76.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04302/1.246, allocations: 11.73 MB / 0.6177 GB, free: 65.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/1.27, allocations: 10.54 MB / 0.628 GB, free: 54.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004346/1.271, allocations: 0.5194 MB / 0.6285 GB, free: 54.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003906/1.275, allocations: 0.7135 MB / 0.6292 GB, free: 53.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04136/1.316, allocations: 17.25 MB / 0.6461 GB, free: 34.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004395/1.316, allocations: 103.1 kB / 0.6461 GB, free: 34.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001971/1.318, allocations: 330.5 kB / 0.6465 GB, free: 34.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/1.32, allocations: 1.458 MB / 0.6479 GB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03138/1.352, allocations: 14.3 MB / 0.6619 GB, free: 18.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3782/1.73, allocations: 73.29 MB / 0.7334 GB, free: 44.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02311/1.753, allocations: 8.72 MB / 0.7419 GB, free: 43.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005351/1.758, allocations: 4.731 MB / 0.7466 GB, free: 43.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02384/1.782, allocations: 17.74 MB / 0.7639 GB, free: 39.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/1.782, allocations: 67.47 kB / 0.764 GB, free: 39.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=281): time 5.892e-06/1.782, allocations: 0 / 0.764 GB, free: 39.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=374): time 0.1739/1.956, allocations: 57.59 MB / 0.8202 GB, free: 14.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.956, allocations: 380.1 kB / 0.8206 GB, free: 14.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008445/1.965, allocations: 5.492 MB / 0.8259 GB, free: 8.859 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001051/1.966, allocations: 81.7 kB / 0.826 GB, free: 8.773 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.969, allocations: 4.881 MB / 0.8308 GB, free: 3.891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.971, allocations: 1.378 MB / 0.8321 GB, free: 2.523 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000682/1.971, allocations: 180 kB / 0.8323 GB, free: 2.348 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004226/1.972, allocations: 0.6861 MB / 0.833 GB, free: 1.652 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007712/1.98, allocations: 5.411 MB / 0.8382 GB, free: 12.24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/1.993, allocations: 10.37 MB / 0.8484 GB, free: 15.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01328/2.006, allocations: 7.382 MB / 0.8556 GB, free: 8.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/2.006, allocations: 52 kB / 0.8556 GB, free: 8.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.3359/2.342, allocations: 21.18 MB / 0.8763 GB, free: 106.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000169/2.343, allocations: 78.56 kB / 0.8764 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003486/2.343, allocations: 174.8 kB / 0.8765 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02071/2.364, allocations: 6.526 MB / 0.8829 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007392/2.371, allocations: 2.047 MB / 0.8849 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04126/2.412, allocations: 32.33 MB / 0.9165 GB, free: 97.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009274/2.422, allocations: 0.6952 MB / 0.9172 GB, free: 97.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/2.424, allocations: 0.5157 MB / 0.9177 GB, free: 97.31 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 () * 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.001641/2.425, allocations: 0.7673 MB / 0.9184 GB, free: 96.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/2.426, allocations: 0.5866 MB / 0.919 GB, free: 96.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03132/2.458, allocations: 15.39 MB / 0.934 GB, free: 91.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001052/2.458, allocations: 59.12 kB / 0.9341 GB, free: 91.85 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.388e-05/2.458, allocations: 14.5 kB / 0.9341 GB, free: 91.85 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/2.458, allocations: 15.62 kB / 0.9341 GB, free: 91.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05332/2.511, allocations: 30.41 MB / 0.9638 GB, free: 71.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.192e-05/2.512, allocations: 4 kB / 0.9638 GB, free: 71.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/2.515, allocations: 0.5807 MB / 0.9644 GB, free: 71.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01739/2.532, allocations: 6.145 MB / 0.9704 GB, free: 65.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001164/2.533, allocations: 60 kB / 0.9704 GB, free: 65.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03643/2.57, allocations: 30.69 MB / 1 GB, free: 34.23 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/2.57, allocations: 9.938 kB / 1 GB, free: 34.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03533/2.605, allocations: 22.99 MB / 1.023 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004827/2.61, allocations: 1.576 MB / 1.024 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/2.612, allocations: 67.23 kB / 1.024 GB, free: 9.449 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004328/2.616, allocations: 408.2 kB / 1.025 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000996/2.617, allocations: 252.6 kB / 1.025 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003579/2.617, allocations: 88 kB / 1.025 GB, free: 8.727 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.2868/2.904, allocations: 3.898 MB / 1.029 GB, free: 106.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.012e-06/2.904, allocations: 0 / 1.029 GB, free: 106.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01254/2.917, allocations: 2.173 MB / 1.031 GB, free: 106.4 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 () * 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.00169/2.918, allocations: 272.9 kB / 1.031 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0257/2.944, allocations: 13.74 MB / 1.045 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/2.944, allocations: 6.344 kB / 1.045 GB, free: 105.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01096/2.955, allocations: 6.283 MB / 1.051 GB, free: 105.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005714/2.961, allocations: 0.8283 MB / 1.052 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/2.991, allocations: 16.75 MB / 1.068 GB, free: 101.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007792/2.999, allocations: 5.439 MB / 1.073 GB, free: 99.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00828/3.007, allocations: 3.038 MB / 1.076 GB, free: 99.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/3.009, allocations: 383.9 kB / 1.077 GB, free: 99.74 MB / 458.7 MB Notification: Performance of SimCode: time 1.553e-06/3.009, allocations: 0 / 1.077 GB, free: 99.74 MB / 458.7 MB Notification: Performance of Templates: time 0.1439/3.153, allocations: 99.22 MB / 1.174 GB, free: 24.91 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/jenkins/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