Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002124/0.002124, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 85.02 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.528e-05, allocations: 0 / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3564, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.5317, allocations: 102.2 MB / 464.5 MB, free: 124 kB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.5321, allocations: 87.89 kB / 464.6 MB, free: 36 kB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8206/1.353, allocations: 137.1 MB / 0.5876 GB, free: 54.38 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.675e-06/1.353, allocations: 0 / 0.5876 GB, free: 54.38 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0006284/1.353, allocations: 147.6 kB / 0.5878 GB, free: 54.23 MB / 395.1 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.03016/1.384, allocations: 7.484 MB / 0.5951 GB, free: 46.69 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/1.384, allocations: 8.031 kB / 0.5951 GB, free: 46.68 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08078/1.464, allocations: 11.74 MB / 0.6065 GB, free: 34.91 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03605/1.501, allocations: 10.51 MB / 0.6168 GB, free: 24.42 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/1.501, allocations: 232 kB / 0.617 GB, free: 24.2 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003737/1.505, allocations: 431.7 kB / 0.6174 GB, free: 23.77 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02503/1.53, allocations: 9.857 MB / 0.6271 GB, free: 13.92 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03829/1.568, allocations: 14.62 MB / 0.6413 GB, free: 13.98 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005604/1.569, allocations: 99.08 kB / 0.6414 GB, free: 13.89 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002901/1.572, allocations: 40 kB / 0.6415 GB, free: 13.85 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004018/1.576, allocations: 1.457 MB / 0.6429 GB, free: 12.39 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6985/2.274, allocations: 71.44 MB / 0.7127 GB, free: 33.77 MB / 411.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01151/2.286, allocations: 6.019 MB / 0.7185 GB, free: 33.03 MB / 411.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008032/2.294, allocations: 4.613 MB / 0.723 GB, free: 31.01 MB / 411.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/2.296, allocations: 0.8638 MB / 0.7239 GB, free: 30.31 MB / 411.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.708e-05/2.296, allocations: 67.69 kB / 0.7239 GB, free: 30.25 MB / 411.2 MB Notification: Performance of pre-optimization done (n=292): time 7.515e-06/2.296, allocations: 0 / 0.7239 GB, free: 30.25 MB / 411.2 MB Notification: Performance of matching and sorting (n=385): time 0.2155/2.511, allocations: 53.41 MB / 0.7761 GB, free: 4.184 MB / 411.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/2.512, allocations: 376.1 kB / 0.7765 GB, free: 3.738 MB / 411.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/2.522, allocations: 4.859 MB / 0.7812 GB, free: 15.57 MB / 427.2 MB Notification: Performance of collectPreVariables (initialization): time 0.001165/2.523, allocations: 29.2 kB / 0.7812 GB, free: 15.54 MB / 427.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.005392/2.528, allocations: 4.724 MB / 0.7859 GB, free: 11.35 MB / 427.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.003049/2.531, allocations: 1.363 MB / 0.7872 GB, free: 10.11 MB / 427.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/2.533, allocations: 0 / 0.7872 GB, free: 10.11 MB / 427.2 MB Notification: Performance of setup shared object (initialization): time 0.001049/2.534, allocations: 0.7002 MB / 0.7879 GB, free: 9.516 MB / 427.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01454/2.549, allocations: 5.33 MB / 0.7931 GB, free: 4.695 MB / 427.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0206/2.57, allocations: 10.42 MB / 0.8033 GB, free: 8.762 MB / 443.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/2.588, allocations: 7.308 MB / 0.8104 GB, free: 2.574 MB / 443.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002312/2.588, allocations: 52 kB / 0.8104 GB, free: 2.523 MB / 443.2 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.3891/2.977, allocations: 20.45 MB / 0.8304 GB, free: 95.66 MB / 443.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.000171/2.977, allocations: 80.34 kB / 0.8305 GB, free: 95.66 MB / 443.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000354/2.977, allocations: 177.1 kB / 0.8307 GB, free: 95.66 MB / 443.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03743/3.015, allocations: 6.514 MB / 0.837 GB, free: 95.62 MB / 443.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/3.029, allocations: 2.11 MB / 0.8391 GB, free: 95.45 MB / 443.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06577/3.095, allocations: 30.49 MB / 0.8689 GB, free: 87.36 MB / 443.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01237/3.108, allocations: 0.5322 MB / 0.8694 GB, free: 87.36 MB / 443.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002292/3.11, allocations: 0.5248 MB / 0.8699 GB, free: 87.29 MB / 443.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * 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 (1053): * Single equations (assignments): 1046 * 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%) 69,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.002403/3.112, allocations: 0.5498 MB / 0.8704 GB, free: 86.95 MB / 443.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001637/3.114, allocations: 0.5666 MB / 0.871 GB, free: 86.95 MB / 443.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05193/3.166, allocations: 15.19 MB / 0.8858 GB, free: 81.97 MB / 443.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001233/3.166, allocations: 51.34 kB / 0.8859 GB, free: 81.97 MB / 443.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.622e-05/3.166, allocations: 19.16 kB / 0.8859 GB, free: 81.97 MB / 443.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.742e-05/3.166, allocations: 16.83 kB / 0.8859 GB, free: 81.97 MB / 443.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08744/3.254, allocations: 29.42 MB / 0.9146 GB, free: 59.7 MB / 443.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/3.254, allocations: 6.562 kB / 0.9146 GB, free: 59.7 MB / 443.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005951/3.26, allocations: 0.5932 MB / 0.9152 GB, free: 59.25 MB / 443.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0342/3.294, allocations: 6.11 MB / 0.9212 GB, free: 53.27 MB / 443.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001266/3.295, allocations: 8 kB / 0.9212 GB, free: 53.26 MB / 443.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06205/3.357, allocations: 28.59 MB / 0.9491 GB, free: 24.39 MB / 443.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/3.357, allocations: 7.125 kB / 0.9491 GB, free: 24.39 MB / 443.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0639/3.421, allocations: 22.92 MB / 0.9715 GB, free: 1.219 MB / 443.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006288/3.428, allocations: 1.543 MB / 0.973 GB, free: 15.65 MB / 459.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002268/3.43, allocations: 11.98 kB / 0.973 GB, free: 15.64 MB / 459.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008014/3.438, allocations: 347.3 kB / 0.9733 GB, free: 15.3 MB / 459.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00196/3.44, allocations: 262.7 kB / 0.9736 GB, free: 15.04 MB / 459.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006603/3.441, allocations: 101.2 kB / 0.9737 GB, free: 14.95 MB / 459.2 MB Notification: Performance of sorting global known variables: time 0.009788/3.451, allocations: 3.325 MB / 0.9769 GB, free: 11.62 MB / 459.2 MB Notification: Performance of sort global known variables: time 1.462e-06/3.451, allocations: 0 / 0.9769 GB, free: 11.62 MB / 459.2 MB Notification: Performance of remove unused functions: time 0.3336/3.784, allocations: 1.927 MB / 0.9788 GB, free: 108.6 MB / 459.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (254): * Single equations (assignments): 247 * 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.001855/3.786, allocations: 222.7 kB / 0.979 GB, free: 108.5 MB / 459.2 MB Notification: Performance of simCode: created initialization part: time 0.03156/3.818, allocations: 13.41 MB / 0.9921 GB, free: 108 MB / 459.2 MB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/3.818, allocations: 0.9688 kB / 0.9921 GB, free: 108 MB / 459.2 MB Notification: Performance of simCode: created simulation system equations: time 0.01657/3.834, allocations: 6.192 MB / 0.9982 GB, free: 107.6 MB / 459.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/3.841, allocations: 0.7222 MB / 0.9989 GB, free: 107.6 MB / 459.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04526/3.887, allocations: 17.46 MB / 1.016 GB, free: 105 MB / 459.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01317/3.9, allocations: 5.443 MB / 1.021 GB, free: 103.3 MB / 459.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003782/3.904, allocations: 434.6 kB / 1.022 GB, free: 103.3 MB / 459.2 MB Notification: Performance of SimCode: time 1.974e-06/3.904, allocations: 0 / 1.022 GB, free: 103.3 MB / 459.2 MB Notification: Performance of Templates: time 0.6881/4.592, allocations: 195.3 MB / 1.212 GB, free: 86.43 MB / 459.2 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches