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.002364/0.002365, allocations: 181.8 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001014/0.001013, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.19e-05, allocations: 0 / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09489, allocations: 47.59 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.535, allocations: 102.8 MB / 471.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5353, allocations: 93.75 kB / 472 MB, free: 6.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8357/1.371, allocations: 140.2 MB / 0.5979 GB, free: 83.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.371, allocations: 0 / 0.5979 GB, free: 83.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000625/1.372, allocations: 147 kB / 0.598 GB, free: 83.48 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.03146/1.403, allocations: 7.494 MB / 0.6053 GB, free: 77.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.403, allocations: 8.031 kB / 0.6053 GB, free: 77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08226/1.486, allocations: 11.73 MB / 0.6168 GB, free: 65.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03558/1.521, allocations: 10.54 MB / 0.6271 GB, free: 54.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006187/1.522, allocations: 0.5167 MB / 0.6276 GB, free: 54.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00373/1.526, allocations: 0.7062 MB / 0.6283 GB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05592/1.582, allocations: 17.26 MB / 0.6451 GB, free: 35.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006082/1.582, allocations: 95.14 kB / 0.6452 GB, free: 35.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003333/1.586, allocations: 329 kB / 0.6455 GB, free: 34.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003261/1.589, allocations: 1.468 MB / 0.647 GB, free: 33.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05252/1.641, allocations: 14.29 MB / 0.6609 GB, free: 18.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4456/2.087, allocations: 73.29 MB / 0.7325 GB, free: 44.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04149/2.129, allocations: 8.726 MB / 0.741 GB, free: 44.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008792/2.138, allocations: 4.718 MB / 0.7456 GB, free: 44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04229/2.18, allocations: 17.75 MB / 0.763 GB, free: 39.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/2.18, allocations: 68.66 kB / 0.763 GB, free: 39.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=281): time 7.394e-06/2.18, allocations: 0 / 0.763 GB, free: 39.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=374): time 0.3213/2.501, allocations: 57.58 MB / 0.8193 GB, free: 14.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/2.501, allocations: 376.1 kB / 0.8196 GB, free: 14.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/2.516, allocations: 5.491 MB / 0.825 GB, free: 8.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001198/2.517, allocations: 81.7 kB / 0.8251 GB, free: 8.789 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004221/2.521, allocations: 4.652 MB / 0.8296 GB, free: 4.137 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002483/2.524, allocations: 1.372 MB / 0.831 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001664/2.525, allocations: 176 kB / 0.8311 GB, free: 2.605 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007366/2.526, allocations: 0.6986 MB / 0.8318 GB, free: 1.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01394/2.54, allocations: 5.406 MB / 0.8371 GB, free: 12.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01934/2.56, allocations: 10.38 MB / 0.8472 GB, free: 15.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/2.578, allocations: 7.376 MB / 0.8544 GB, free: 8.473 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/2.578, allocations: 51 kB / 0.8545 GB, free: 8.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=1165) (initialization): time 0.3947/2.973, allocations: 20.94 MB / 0.8749 GB, free: 106.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/2.973, allocations: 78.81 kB / 0.875 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003377/2.973, allocations: 171.6 kB / 0.8752 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03683/3.01, allocations: 6.522 MB / 0.8815 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01343/3.024, allocations: 2.046 MB / 0.8835 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07263/3.096, allocations: 32.34 MB / 0.9151 GB, free: 97.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01331/3.11, allocations: 0.6954 MB / 0.9158 GB, free: 97.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002869/3.113, allocations: 0.5121 MB / 0.9163 GB, free: 97.3 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.004773/3.118, allocations: 0.772 MB / 0.917 GB, free: 96.96 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002252/3.12, allocations: 0.5939 MB / 0.9176 GB, free: 96.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05698/3.177, allocations: 15.39 MB / 0.9327 GB, free: 91.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001082/3.177, allocations: 47.66 kB / 0.9327 GB, free: 91.84 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.655e-05/3.177, allocations: 18.41 kB / 0.9327 GB, free: 91.84 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.668e-05/3.177, allocations: 18.47 kB / 0.9327 GB, free: 91.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08987/3.267, allocations: 30.41 MB / 0.9624 GB, free: 71.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.404e-05/3.267, allocations: 4 kB / 0.9624 GB, free: 71.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005887/3.273, allocations: 0.5747 MB / 0.963 GB, free: 71.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03388/3.307, allocations: 6.137 MB / 0.969 GB, free: 65.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/3.308, allocations: 67.39 kB / 0.9691 GB, free: 65.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06541/3.374, allocations: 30.69 MB / 0.999 GB, free: 34.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/3.374, allocations: 4 kB / 0.999 GB, free: 34.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06646/3.44, allocations: 22.99 MB / 1.021 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006367/3.447, allocations: 1.581 MB / 1.023 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00273/3.449, allocations: 66.02 kB / 1.023 GB, free: 9.992 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008231/3.458, allocations: 409.1 kB / 1.023 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002076/3.46, allocations: 244.9 kB / 1.024 GB, free: 9.355 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006685/3.46, allocations: 95.98 kB / 1.024 GB, free: 9.262 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.3352/3.796, allocations: 3.892 MB / 1.028 GB, free: 106.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.363e-06/3.796, allocations: 1.031 kB / 1.028 GB, free: 106.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01481/3.811, allocations: 2.17 MB / 1.03 GB, free: 106.3 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.00221/3.813, allocations: 275.8 kB / 1.03 GB, free: 106.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03751/3.85, allocations: 13.75 MB / 1.043 GB, free: 105.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/3.85, allocations: 0 / 1.043 GB, free: 105.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01748/3.868, allocations: 6.277 MB / 1.05 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007555/3.876, allocations: 0.8367 MB / 1.05 GB, free: 105.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0466/3.922, allocations: 17.59 MB / 1.068 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/3.935, allocations: 5.44 MB / 1.073 GB, free: 99.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003985/3.939, allocations: 444 kB / 1.073 GB, free: 99.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.503e-06/3.939, allocations: 0 / 1.073 GB, free: 99.3 MB / 458.7 MB Notification: Performance of Templates: time 0.6749/4.614, allocations: 198 MB / 1.267 GB, free: 80.45 MB / 458.7 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