Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 173.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.422/1.422, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0008095/0.0008097, allocations: 92.56 kB / 295 MB, free: 9.488 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.3501/0.3501, allocations: 44.32 MB / 390.5 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 8 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 61.89 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002641/0.3402, allocations: 2.801 MB / 0.5155 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3412, allocations: 0.7736 MB / 0.5162 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.3414, allocations: 9.469 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.3416, allocations: 60.86 kB / 0.5163 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.3418, allocations: 142.7 kB / 0.5164 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.342, allocations: 98.97 kB / 0.5165 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.3424, allocations: 0.5692 MB / 0.5171 GB, free: 34.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.3426, allocations: 142.5 kB / 0.5172 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.3428, allocations: 195.3 kB / 0.5174 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.3431, allocations: 222.3 kB / 0.5176 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.3431, allocations: 24.03 kB / 0.5176 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.202e-05/0.3432, allocations: 23.5 kB / 0.5177 GB, free: 34.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-05/0.3433, allocations: 77.52 kB / 0.5177 GB, free: 34.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3435, allocations: 267.9 kB / 0.518 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.344, allocations: 0.5189 MB / 0.5185 GB, free: 34.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.344, allocations: 0.75 kB / 0.5185 GB, free: 34.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.344, allocations: 0 / 0.5185 GB, free: 34.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.344, allocations: 1.188 kB / 0.5185 GB, free: 34.23 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008822/0.3449, allocations: 0.674 MB / 0.5192 GB, free: 33.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.345, allocations: 12.3 kB / 0.5192 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.3451, allocations: 60.34 kB / 0.5192 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.3453, allocations: 325.3 kB / 0.5195 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.3454, allocations: 30.78 kB / 0.5196 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.3455, allocations: 57.03 kB / 0.5196 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.346, allocations: 430.9 kB / 0.52 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.3461, allocations: 14.11 kB / 0.52 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.3461, allocations: 22.94 kB / 0.5201 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3461, allocations: 11.69 kB / 0.5201 GB, free: 33.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.3465, allocations: 313.4 kB / 0.5204 GB, free: 33.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.3478, allocations: 1.154 MB / 0.5215 GB, free: 32.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006138/0.3485, allocations: 484.9 kB / 0.522 GB, free: 32.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.3487, allocations: 208 kB / 0.5222 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3487, allocations: 5.375 kB / 0.5222 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3488, allocations: 41.53 kB / 0.5222 GB, free: 31.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 1.853e-06/0.3488, allocations: 7.969 kB / 0.5222 GB, free: 31.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002399/0.3512, allocations: 2.127 MB / 0.5243 GB, free: 30.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.3512, allocations: 94.27 kB / 0.5244 GB, free: 30.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3514, allocations: 246.1 kB / 0.5246 GB, free: 30.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3515, allocations: 36.64 kB / 0.5246 GB, free: 30.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.3516, allocations: 212.7 kB / 0.5248 GB, free: 29.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3517, allocations: 269.7 kB / 0.5251 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.3517, allocations: 18.91 kB / 0.5251 GB, free: 29.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.3518, allocations: 359.3 kB / 0.5255 GB, free: 29.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.352, allocations: 160.8 kB / 0.5256 GB, free: 29.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.3523, allocations: 268.7 kB / 0.5259 GB, free: 29.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.3528, allocations: 467.8 kB / 0.5263 GB, free: 28.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3529, allocations: 0 / 0.5263 GB, free: 28.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007737/0.3536, allocations: 0.559 MB / 0.5269 GB, free: 28.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3537, allocations: 6 kB / 0.5269 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3537, allocations: 6.719 kB / 0.5269 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.3537, allocations: 6.188 kB / 0.5269 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.3543, allocations: 185.2 kB / 0.5271 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.3543, allocations: 5.844 kB / 0.5271 GB, free: 28.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.3545, allocations: 25.36 kB / 0.5271 GB, free: 28.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.3546, allocations: 26.38 kB / 0.5271 GB, free: 28.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.3548, allocations: 181.8 kB / 0.5273 GB, free: 28.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.3548, allocations: 46.59 kB / 0.5273 GB, free: 28.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.291e-05/0.3549, allocations: 52.98 kB / 0.5274 GB, free: 28.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.355, allocations: 12.22 kB / 0.5274 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/0.355, allocations: 3.469 kB / 0.5274 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.355, allocations: 5.672 kB / 0.5274 GB, free: 28.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.3569, allocations: 1.449 MB / 0.5288 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.357, allocations: 6.656 kB / 0.5288 GB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.3576, allocations: 166.4 kB / 0.529 GB, free: 27.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.3576, allocations: 8.781 kB / 0.529 GB, free: 27.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.3576, allocations: 19.5 kB / 0.529 GB, free: 27.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.3577, allocations: 9 kB / 0.529 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3577, allocations: 7.281 kB / 0.529 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008649/0.3585, allocations: 0.9043 MB / 0.5299 GB, free: 26.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.3586, allocations: 113.7 kB / 0.53 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.366e-05/0.3587, allocations: 24.03 kB / 0.53 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3589, allocations: 23.53 kB / 0.5301 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.359, allocations: 47.36 kB / 0.5301 GB, free: 26.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.359, allocations: 23.88 kB / 0.5301 GB, free: 26.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3592, allocations: 177 kB / 0.5303 GB, free: 26.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3592, allocations: 0 / 0.5303 GB, free: 26.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004536/0.3596, allocations: 146.8 kB / 0.5304 GB, free: 26.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001343/0.3598, allocations: 127 kB / 0.5306 GB, free: 26.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.3605, allocations: 446.8 kB / 0.531 GB, free: 26.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3605, allocations: 3.062 kB / 0.531 GB, free: 26.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.3608, allocations: 234.9 kB / 0.5312 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.3618, allocations: 113.6 kB / 0.5313 GB, free: 26.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.364, allocations: 2.076 MB / 0.5334 GB, free: 24.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.3643, allocations: 0.8418 MB / 0.5342 GB, free: 23.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.3645, allocations: 60.64 kB / 0.5342 GB, free: 23.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.434e-05/0.3646, allocations: 42.28 kB / 0.5343 GB, free: 23.94 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3646, allocations: 0 / 0.5343 GB, free: 23.94 MB / 378.7 MB Notification: Performance of Templates: time 0.008574/0.3732, allocations: 5.003 MB / 0.5392 GB, free: 23.56 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches