Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002054, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 104.8 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3427/0.3427, allocations: 44.82 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 67.84 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3677, allocations: 62.03 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.07628/0.444, allocations: 89.2 MB / 0.6023 GB, free: 136 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03964/0.4837, allocations: 17.13 MB / 0.619 GB, free: 14.94 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01833/0.502, allocations: 387.1 kB / 0.6194 GB, free: 14.56 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009735/0.5118, allocations: 5.022 MB / 0.6243 GB, free: 9.527 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007121/0.519, allocations: 2.374 MB / 0.6266 GB, free: 7.145 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.5217, allocations: 1.03 MB / 0.6276 GB, free: 6.113 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01228/0.534, allocations: 10.25 MB / 0.6376 GB, free: 11.84 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008517/0.5426, allocations: 5.731 MB / 0.6432 GB, free: 6.027 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.5464, allocations: 2.176 MB / 0.6453 GB, free: 3.844 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005096/0.5515, allocations: 3.52 MB / 0.6488 GB, free: 320 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001534/0.553, allocations: 376 kB / 0.6491 GB, free: 15.94 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.5563, allocations: 1.322 MB / 0.6504 GB, free: 14.62 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003792/0.5601, allocations: 2.945 MB / 0.6533 GB, free: 11.67 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005072/0.5652, allocations: 3.3 MB / 0.6565 GB, free: 8.348 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.5755, allocations: 10.21 MB / 0.6665 GB, free: 14.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.5756, allocations: 0 / 0.6665 GB, free: 14.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5756, allocations: 4 kB / 0.6665 GB, free: 14.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000317/0.5759, allocations: 0 / 0.6665 GB, free: 14.11 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.0167/0.5926, allocations: 7.553 MB / 0.6739 GB, free: 6.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5927, allocations: 8.031 kB / 0.6739 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.6051, allocations: 2.769 MB / 0.6766 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.247/0.8522, allocations: 4.225 MB / 0.6807 GB, free: 132.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004172/0.8526, allocations: 367.3 kB / 0.681 GB, free: 132.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/0.8543, allocations: 488.4 kB / 0.6815 GB, free: 132.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02443/0.8788, allocations: 15.06 MB / 0.6962 GB, free: 125.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002012/0.879, allocations: 66.8 kB / 0.6963 GB, free: 125.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006679/0.8797, allocations: 227.6 kB / 0.6965 GB, free: 125.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004678/0.8844, allocations: 2.866 MB / 0.6993 GB, free: 125.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02533/0.9097, allocations: 12.82 MB / 0.7118 GB, free: 121.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06228/0.972, allocations: 59.11 MB / 0.7695 GB, free: 65.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01621/0.9883, allocations: 7.276 MB / 0.7766 GB, free: 57.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/0.9922, allocations: 3.904 MB / 0.7805 GB, free: 53.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/1.006, allocations: 8.998 MB / 0.7892 GB, free: 44.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/1.007, allocations: 64.48 kB / 0.7893 GB, free: 44.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=246): time 4.268e-06/1.007, allocations: 0 / 0.7893 GB, free: 44.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=288): time 0.07881/1.085, allocations: 32.86 MB / 0.8214 GB, free: 11.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/1.085, allocations: 235.6 kB / 0.8216 GB, free: 11.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007187/1.093, allocations: 6.714 MB / 0.8282 GB, free: 4.559 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006476/1.093, allocations: 73.69 kB / 0.8282 GB, free: 4.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001957/1.095, allocations: 4.454 MB / 0.8326 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001301/1.097, allocations: 1.103 MB / 0.8337 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002343/1.099, allocations: 1.8 MB / 0.8354 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/1.099, allocations: 309.1 kB / 0.8357 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005106/1.104, allocations: 3.628 MB / 0.8393 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008453/1.113, allocations: 8.663 MB / 0.8477 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/1.127, allocations: 13.21 MB / 0.8606 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/1.127, allocations: 48 kB / 0.8607 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02596/1.153, allocations: 14.1 MB / 0.8744 GB, free: 104 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.153, allocations: 83.94 kB / 0.8745 GB, free: 20 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003285/1.154, allocations: 176.9 kB / 0.8747 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006213/1.16, allocations: 2.253 MB / 0.8769 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006949/1.167, allocations: 2.031 MB / 0.8789 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2651/1.432, allocations: 13.29 MB / 0.8919 GB, free: 167.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007143/1.439, allocations: 0.5091 MB / 0.8923 GB, free: 167.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001709/1.441, allocations: 0.5121 MB / 0.8928 GB, free: 167.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1064): * Single equations (assignments): 1057 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00621/1.447, allocations: 3.056 MB / 0.8958 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.449, allocations: 0.5541 MB / 0.8964 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.461, allocations: 7.226 MB / 0.9034 GB, free: 164.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/1.461, allocations: 30.69 kB / 0.9035 GB, free: 164.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.036e-05/1.461, allocations: 6.781 kB / 0.9035 GB, free: 164.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.58e-05/1.461, allocations: 16.17 kB / 0.9035 GB, free: 164.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03087/1.492, allocations: 15.26 MB / 0.9184 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/1.492, allocations: 10.69 kB / 0.9184 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.494, allocations: 494 kB / 0.9189 GB, free: 159.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006241/1.501, allocations: 2.015 MB / 0.9208 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005121/1.501, allocations: 55.19 kB / 0.9209 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/1.518, allocations: 12.58 MB / 0.9332 GB, free: 152.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.518, allocations: 5.875 kB / 0.9332 GB, free: 152.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1104/1.628, allocations: 75.65 MB / 1.007 GB, free: 89.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.629, allocations: 0.6344 MB / 1.008 GB, free: 88.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006782/1.63, allocations: 55.92 kB / 1.008 GB, free: 88.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/1.632, allocations: 205.7 kB / 1.008 GB, free: 88.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/1.633, allocations: 172.5 kB / 1.008 GB, free: 88.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002018/1.633, allocations: 79.98 kB / 1.008 GB, free: 88.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005037/1.638, allocations: 4.3 MB / 1.012 GB, free: 83.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/1.638, allocations: 4 kB / 1.012 GB, free: 83.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007188/1.645, allocations: 2.226 MB / 1.015 GB, free: 81.77 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004873/1.646, allocations: 199.7 kB / 1.015 GB, free: 81.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.656, allocations: 8.761 MB / 1.023 GB, free: 72.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.656, allocations: 4 kB / 1.023 GB, free: 72.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004905/1.661, allocations: 3.535 MB / 1.027 GB, free: 69.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003768/1.665, allocations: 0.7041 MB / 1.027 GB, free: 68.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/1.689, allocations: 20.66 MB / 1.048 GB, free: 47.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008544/1.697, allocations: 4.742 MB / 1.052 GB, free: 42.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007545/1.705, allocations: 2.849 MB / 1.055 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/1.707, allocations: 395.4 kB / 1.055 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/1.707, allocations: 0 / 1.055 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.3785/2.085, allocations: 85.06 MB / 1.138 GB, free: 142.9 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches