Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 181.8 kB / 17.02 MB, free: 5.121 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.435/1.435, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0009309/0.0009309, allocations: 88.11 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2458, allocations: 47.56 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.3574, allocations: 94.35 MB / 470.2 MB, free: 2.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.3577, allocations: 87.95 kB / 470.2 MB, free: 2.211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4934/0.8511, allocations: 123.4 MB / 0.5798 GB, free: 35.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.8512, allocations: 0 / 0.5798 GB, free: 35.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.00043/0.8516, allocations: 124 kB / 0.5799 GB, free: 35.53 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.02442/0.8761, allocations: 7.136 MB / 0.5869 GB, free: 28.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.8761, allocations: 8.031 kB / 0.5869 GB, free: 28.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03464/0.9108, allocations: 9.418 MB / 0.5961 GB, free: 18.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/0.9333, allocations: 8.614 MB / 0.6045 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004275/0.9338, allocations: 435.4 kB / 0.6049 GB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003177/0.937, allocations: 0.5777 MB / 0.6055 GB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03588/0.9729, allocations: 14.82 MB / 0.6199 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008358/0.9738, allocations: 79.31 kB / 0.62 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003949/0.9778, allocations: 279.9 kB / 0.6203 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003051/0.9809, allocations: 1.439 MB / 0.6217 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03164/1.013, allocations: 13.01 MB / 0.6344 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2983/1.311, allocations: 64.73 MB / 0.6976 GB, free: 34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0192/1.33, allocations: 7.859 MB / 0.7053 GB, free: 33.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01847/1.349, allocations: 12.99 MB / 0.718 GB, free: 29.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/1.349, allocations: 70.81 kB / 0.718 GB, free: 29.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=340): time 5.971e-06/1.349, allocations: 0 / 0.718 GB, free: 29.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=604): time 1.899/3.248, allocations: 266.2 MB / 0.9779 GB, free: 97.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/3.248, allocations: 278.4 kB / 0.9782 GB, free: 97.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008394/3.256, allocations: 4.784 MB / 0.9829 GB, free: 97.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00228/3.259, allocations: 116.8 kB / 0.983 GB, free: 97.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003051/3.262, allocations: 4.015 MB / 0.9869 GB, free: 96.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004317/3.266, allocations: 2.111 MB / 0.989 GB, free: 94.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/3.267, allocations: 188.8 kB / 0.9892 GB, free: 94.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005166/3.268, allocations: 0.7051 MB / 0.9898 GB, free: 94.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0139/3.282, allocations: 8.679 MB / 0.9983 GB, free: 94.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01527/3.297, allocations: 12.78 MB / 1.011 GB, free: 86.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/3.312, allocations: 10.59 MB / 1.021 GB, free: 82.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/3.312, allocations: 40.03 kB / 1.021 GB, free: 82.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.09256/3.405, allocations: 40.33 MB / 1.061 GB, free: 65.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002399/3.405, allocations: 64 kB / 1.061 GB, free: 65.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003141/3.406, allocations: 140 kB / 1.061 GB, free: 65.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06557/3.471, allocations: 21.55 MB / 1.082 GB, free: 45.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005362/3.477, allocations: 1.439 MB / 1.083 GB, free: 44.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5072/3.984, allocations: 151.1 MB / 1.231 GB, free: 43.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01296/3.997, allocations: 0.7226 MB / 1.232 GB, free: 42.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003484/4, allocations: 0.5277 MB / 1.232 GB, free: 42.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 768 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.01204/4.012, allocations: 3.128 MB / 1.235 GB, free: 39.51 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003152/4.016, allocations: 0.5981 MB / 1.236 GB, free: 39.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08947/4.105, allocations: 36.29 MB / 1.271 GB, free: 7.852 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001277/4.105, allocations: 63.95 kB / 1.271 GB, free: 7.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003032/4.106, allocations: 64 kB / 1.271 GB, free: 7.727 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002078/4.106, allocations: 31.89 kB / 1.271 GB, free: 7.695 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3835/4.489, allocations: 57.2 MB / 1.327 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.337e-05/4.489, allocations: 0 / 1.327 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/4.491, allocations: 273.5 kB / 1.327 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06058/4.552, allocations: 20.76 MB / 1.348 GB, free: 93.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002667/4.554, allocations: 101.2 kB / 1.348 GB, free: 93.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4813/5.036, allocations: 138.9 MB / 1.483 GB, free: 90.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/5.036, allocations: 3.469 kB / 1.483 GB, free: 90.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09933/5.135, allocations: 48.81 MB / 1.531 GB, free: 79.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008844/5.144, allocations: 2.405 MB / 1.533 GB, free: 77.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003181/5.147, allocations: 91.34 kB / 1.533 GB, free: 77.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007998/5.155, allocations: 0.4987 MB / 1.534 GB, free: 77.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003896/5.159, allocations: 0.4983 MB / 1.534 GB, free: 77.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001521/5.161, allocations: 147.7 kB / 1.535 GB, free: 77.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006933/5.168, allocations: 3.419 MB / 1.538 GB, free: 76 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/5.168, allocations: 0 / 1.538 GB, free: 76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0171/5.185, allocations: 3.44 MB / 1.541 GB, free: 72.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (j1.phi,j1.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 (148): * Single equations (assignments): 141 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.002129/5.187, allocations: 244.1 kB / 1.542 GB, free: 72.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04331/5.23, allocations: 24.52 MB / 1.565 GB, free: 51.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/5.23, allocations: 0 / 1.565 GB, free: 51.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03691/5.267, allocations: 13.8 MB / 1.579 GB, free: 39.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009753/5.277, allocations: 0.7044 MB / 1.58 GB, free: 38.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06269/5.34, allocations: 26.52 MB / 1.606 GB, free: 14.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01355/5.353, allocations: 5.325 MB / 1.611 GB, free: 9.477 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009814/5.363, allocations: 2.084 MB / 1.613 GB, free: 7.402 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/5.365, allocations: 307.4 kB / 1.613 GB, free: 7.102 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/5.365, allocations: 0 / 1.613 GB, free: 7.102 MB / 458.7 MB Notification: Performance of Templates: time 0.9422/6.307, allocations: 223.4 MB / 1.831 GB, free: 95.92 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches