Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009212/0.0009213, allocations: 176.5 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008872/0.000887, allocations: 90.12 kB / 295 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3375/0.3375, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 8 kB / 463.1 MB, free: 488 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3646, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.001473/0.3661, allocations: 1.339 MB / 0.514 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.3663, allocations: 108.9 kB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.3664, allocations: 6.938 kB / 0.5141 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.3664, allocations: 10.5 kB / 0.5142 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 9.242e-05/0.3665, allocations: 32.81 kB / 0.5142 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.3666, allocations: 26.38 kB / 0.5142 GB, free: 36.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3668, allocations: 113.9 kB / 0.5143 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3669, allocations: 29.72 kB / 0.5144 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.367, allocations: 47.02 kB / 0.5144 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.284e-05/0.3671, allocations: 43.06 kB / 0.5144 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.3671, allocations: 5.875 kB / 0.5144 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.961e-05/0.3671, allocations: 5.844 kB / 0.5144 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.3671, allocations: 18.17 kB / 0.5145 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.3672, allocations: 81.86 kB / 0.5145 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3673, allocations: 115.7 kB / 0.5147 GB, free: 36.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3673, allocations: 4 kB / 0.5147 GB, free: 36.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3673, allocations: 0 / 0.5147 GB, free: 36.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3674, allocations: 4 kB / 0.5147 GB, free: 36.6 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003625/0.3677, allocations: 386.2 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3678, allocations: 10.84 kB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3678, allocations: 10.12 kB / 0.5151 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3679, allocations: 195.2 kB / 0.5152 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.368, allocations: 13.64 kB / 0.5153 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.368, allocations: 14.22 kB / 0.5153 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.3682, allocations: 127.5 kB / 0.5154 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3682, allocations: 6.297 kB / 0.5154 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3683, allocations: 7.938 kB / 0.5154 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3683, allocations: 2.562 kB / 0.5154 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.3684, allocations: 58.17 kB / 0.5155 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.369, allocations: 0.5487 MB / 0.516 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3691, allocations: 84.86 kB / 0.5161 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.3691, allocations: 29.25 kB / 0.5161 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.3691, allocations: 7.938 kB / 0.5161 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.3692, allocations: 34.03 kB / 0.5161 GB, free: 35.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.3692, allocations: 3 kB / 0.5161 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004793/0.3696, allocations: 293.7 kB / 0.5164 GB, free: 34.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.3697, allocations: 91.98 kB / 0.5165 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.3698, allocations: 123.7 kB / 0.5166 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.3698, allocations: 25.7 kB / 0.5167 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.3698, allocations: 109.1 kB / 0.5168 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3699, allocations: 37.62 kB / 0.5168 GB, free: 34.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.3699, allocations: 0 / 0.5168 GB, free: 34.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.3699, allocations: 324.7 kB / 0.5171 GB, free: 34.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.659e-05/0.37, allocations: 23.11 kB / 0.5171 GB, free: 34.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.654e-05/0.37, allocations: 96.73 kB / 0.5172 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.3702, allocations: 120.6 kB / 0.5173 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3702, allocations: 0 / 0.5173 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000216/0.3704, allocations: 166.7 kB / 0.5175 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3704, allocations: 5.188 kB / 0.5175 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3704, allocations: 2.906 kB / 0.5175 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.3706, allocations: 43.89 kB / 0.5175 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.3707, allocations: 25.52 kB / 0.5176 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.3719, allocations: 2.538 MB / 0.52 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.3719, allocations: 8.312 kB / 0.5201 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.372, allocations: 9.375 kB / 0.5201 GB, free: 31.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.799e-05/0.372, allocations: 137.3 kB / 0.5202 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.3721, allocations: 7.75 kB / 0.5202 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.3721, allocations: 11.48 kB / 0.5202 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3721, allocations: 1.375 kB / 0.5202 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3721, allocations: 2.109 kB / 0.5202 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3721, allocations: 3.984 kB / 0.5202 GB, free: 31.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.3724, allocations: 203.7 kB / 0.5204 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3724, allocations: 0 / 0.5204 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.238e-05/0.3725, allocations: 12.58 kB / 0.5204 GB, free: 30.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.644e-05/0.3726, allocations: 43.3 kB / 0.5205 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3726, allocations: 1.094 kB / 0.5205 GB, free: 30.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.3737, allocations: 2.536 MB / 0.5229 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3737, allocations: 0 / 0.5229 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3739, allocations: 303.3 kB / 0.5232 GB, free: 28.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.374, allocations: 91.34 kB / 0.5233 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.374, allocations: 2.875 kB / 0.5233 GB, free: 27.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.3741, allocations: 4 kB / 0.5233 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.3741, allocations: 10.3 kB / 0.5233 GB, free: 27.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3741, allocations: 3.062 kB / 0.5233 GB, free: 27.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.314e-05/0.3741, allocations: 91.53 kB / 0.5234 GB, free: 27.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3742, allocations: 0 / 0.5234 GB, free: 27.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.3745, allocations: 36.5 kB / 0.5235 GB, free: 27.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * 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 (6): * Single equations (assignments): 4 * Array equations: 0 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.008e-05/0.3746, allocations: 110.9 kB / 0.5236 GB, free: 27.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.3749, allocations: 296.4 kB / 0.5239 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3749, allocations: 1.344 kB / 0.5239 GB, free: 27.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.3751, allocations: 263.7 kB / 0.5241 GB, free: 27.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3756, allocations: 35.66 kB / 0.5241 GB, free: 27.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.3763, allocations: 0.5619 MB / 0.5247 GB, free: 26.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.3765, allocations: 0.7086 MB / 0.5254 GB, free: 26.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.3765, allocations: 14.83 kB / 0.5254 GB, free: 26.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.3765, allocations: 11.81 kB / 0.5254 GB, free: 26.08 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3765, allocations: 0 / 0.5254 GB, free: 26.08 MB / 378.7 MB Notification: Performance of Templates: time 0.003656/0.3802, allocations: 1.445 MB / 0.5268 GB, free: 25.96 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches