Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.FrameForces2,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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009892/0.0009892, allocations: 179.7 kB / 16.41 MB, free: 5.707 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.444/1.444, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007532/0.0007532, allocations: 96.78 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3629/0.3629, allocations: 43.56 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006936/0.0006937, allocations: 12 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1578, allocations: 58.85 MB / 490.2 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.3425/0.5003, allocations: 113.4 MB / 0.5895 GB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.082/0.5824, allocations: 22.46 MB / 0.6114 GB, free: 13.8 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03603/0.6185, allocations: 0.5222 MB / 0.6119 GB, free: 13.28 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02635/0.6449, allocations: 6.015 MB / 0.6178 GB, free: 7.746 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05923/0.7042, allocations: 17.36 MB / 0.6347 GB, free: 6.328 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009351/0.7136, allocations: 1.237 MB / 0.6359 GB, free: 5.094 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.4652/1.179, allocations: 67.4 MB / 0.7018 GB, free: 36.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01564/1.195, allocations: 9.66 MB / 0.7112 GB, free: 36.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007125/1.202, allocations: 2.606 MB / 0.7137 GB, free: 36.09 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008387/1.21, allocations: 4.195 MB / 0.7178 GB, free: 36.08 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002592/1.213, allocations: 298.8 kB / 0.7181 GB, free: 36.08 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005117/1.218, allocations: 1.169 MB / 0.7193 GB, free: 35.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006491/1.224, allocations: 3.621 MB / 0.7228 GB, free: 33.75 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003993/1.229, allocations: 1.648 MB / 0.7244 GB, free: 33.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/1.241, allocations: 11.18 MB / 0.7353 GB, free: 23.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.241, allocations: 0 / 0.7353 GB, free: 23.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.296e-06/1.241, allocations: 0 / 0.7353 GB, free: 23.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005742/1.242, allocations: 0 / 0.7353 GB, free: 23.48 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.02327/1.265, allocations: 8.097 MB / 0.7432 GB, free: 16.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/1.265, allocations: 9.906 kB / 0.7432 GB, free: 16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02032/1.285, allocations: 3.744 MB / 0.7469 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/1.301, allocations: 6.353 MB / 0.7531 GB, free: 7.824 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/1.302, allocations: 483.1 kB / 0.7536 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/1.305, allocations: 0.643 MB / 0.7542 GB, free: 7.137 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04367/1.348, allocations: 19.12 MB / 0.7729 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005798/1.349, allocations: 88.61 kB / 0.7729 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001658/1.351, allocations: 295.7 kB / 0.7732 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006369/1.357, allocations: 3.42 MB / 0.7766 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03959/1.397, allocations: 16.13 MB / 0.7923 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.113/1.51, allocations: 70.58 MB / 0.8612 GB, free: 24 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0228/1.533, allocations: 8.485 MB / 0.8695 GB, free: 8.754 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007784/1.54, allocations: 4.516 MB / 0.8739 GB, free: 4.223 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/1.542, allocations: 0.6692 MB / 0.8746 GB, free: 3.465 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000114/1.542, allocations: 79.27 kB / 0.8747 GB, free: 3.379 MB / 0.573 GB Notification: Performance of pre-optimization done (n=307): time 7.735e-06/1.542, allocations: 0 / 0.8747 GB, free: 3.379 MB / 0.573 GB Notification: Performance of matching and sorting (n=331): time 0.5999/2.142, allocations: 34.94 MB / 0.9088 GB, free: 228.5 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/2.142, allocations: 293.5 kB / 0.9091 GB, free: 228.2 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01535/2.157, allocations: 7.596 MB / 0.9165 GB, free: 225.8 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/2.158, allocations: 78.73 kB / 0.9166 GB, free: 225.8 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.004533/2.163, allocations: 5.494 MB / 0.9219 GB, free: 221.6 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/2.165, allocations: 1.263 MB / 0.9232 GB, free: 220.7 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005584/2.165, allocations: 194.8 kB / 0.9233 GB, free: 220.5 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0005371/2.166, allocations: 0.7284 MB / 0.9241 GB, free: 220 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006028/2.172, allocations: 4.001 MB / 0.928 GB, free: 218.7 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009283/2.181, allocations: 9.553 MB / 0.9373 GB, free: 209.9 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/2.192, allocations: 6.015 MB / 0.9432 GB, free: 207.7 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000238/2.192, allocations: 59 kB / 0.9432 GB, free: 207.7 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.0362/2.229, allocations: 15.39 MB / 0.9583 GB, free: 202.1 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/2.229, allocations: 89.58 kB / 0.9583 GB, free: 202.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002439/2.229, allocations: 196.8 kB / 0.9585 GB, free: 202.1 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006261/2.235, allocations: 2.324 MB / 0.9608 GB, free: 201.7 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00831/2.244, allocations: 2.34 MB / 0.9631 GB, free: 201.4 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/2.26, allocations: 15.31 MB / 0.978 GB, free: 192.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009456/2.269, allocations: 0.5751 MB / 0.9786 GB, free: 191.6 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/2.271, allocations: 0.5652 MB / 0.9792 GB, free: 191 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1220): * Single equations (assignments): 1213 * 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: 4 {(2,100.0%) 12,(2,100.0%) 12,(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007691/2.279, allocations: 3.743 MB / 0.9828 GB, free: 187.7 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/2.28, allocations: 0.644 MB / 0.9834 GB, free: 187.1 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/2.293, allocations: 7.874 MB / 0.9911 GB, free: 180.8 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.456e-05/2.293, allocations: 32 kB / 0.9912 GB, free: 180.8 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/2.293, allocations: 12 kB / 0.9912 GB, free: 180.8 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.092e-05/2.293, allocations: 17.92 kB / 0.9912 GB, free: 180.8 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03505/2.328, allocations: 16.95 MB / 1.008 GB, free: 164.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/2.328, allocations: 0 / 1.008 GB, free: 164.1 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/2.331, allocations: 0.5969 MB / 1.008 GB, free: 163.5 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005243/2.336, allocations: 1.967 MB / 1.01 GB, free: 161.5 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006242/2.337, allocations: 63.94 kB / 1.01 GB, free: 161.4 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/2.35, allocations: 14.15 MB / 1.024 GB, free: 146.8 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.35, allocations: 7.391 kB / 1.024 GB, free: 146.8 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/2.368, allocations: 12.22 MB / 1.036 GB, free: 134.4 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003624/2.372, allocations: 1.266 MB / 1.037 GB, free: 133.2 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001825/2.374, allocations: 60.64 kB / 1.037 GB, free: 133.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003868/2.378, allocations: 243.7 kB / 1.038 GB, free: 132.9 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/2.378, allocations: 191 kB / 1.038 GB, free: 132.7 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000231/2.378, allocations: 92.94 kB / 1.038 GB, free: 132.6 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.008077/2.386, allocations: 4.837 MB / 1.043 GB, free: 127.8 MB / 0.5887 GB Notification: Performance of sort global known variables: time 4.2e-07/2.386, allocations: 0 / 1.043 GB, free: 127.8 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01246/2.399, allocations: 1.957 MB / 1.044 GB, free: 125.8 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (276): * Single equations (assignments): 269 * 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: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009895/2.4, allocations: 205.2 kB / 1.045 GB, free: 125.6 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01557/2.416, allocations: 9.847 MB / 1.054 GB, free: 115.8 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/2.416, allocations: 0 / 1.054 GB, free: 115.8 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.004993/2.421, allocations: 3.591 MB / 1.058 GB, free: 112.1 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007958/2.429, allocations: 0.9033 MB / 1.059 GB, free: 111.2 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03998/2.469, allocations: 22.08 MB / 1.08 GB, free: 89.09 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006948/2.476, allocations: 5.678 MB / 1.086 GB, free: 83.37 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002779/2.478, allocations: 0.5111 MB / 1.086 GB, free: 82.86 MB / 0.5887 GB Notification: Performance of SimCode: time 1.403e-06/2.478, allocations: 0 / 1.086 GB, free: 82.86 MB / 0.5887 GB Notification: Performance of Templates: time 0.6172/3.096, allocations: 248.8 MB / 1.329 GB, free: 68.19 MB / 0.5887 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches