Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 175 kB / 17.41 MB, free: 4.395 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.588/1.588, allocations: 225.7 MB / 243.9 MB, free: 8.469 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.000764/0.0007645, allocations: 94.41 kB / 295 MB, free: 9.496 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.3657/0.3657, allocations: 44.32 MB / 390.5 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003085, allocations: 12 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3366, allocations: 61.9 MB / 0.5127 GB, free: 37.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.002541/0.3391, allocations: 2.607 MB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005447/0.3397, allocations: 417.9 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.3398, allocations: 8.844 kB / 0.5157 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.197e-05/0.3399, allocations: 47.28 kB / 0.5157 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.3402, allocations: 143.7 kB / 0.5159 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3404, allocations: 88.56 kB / 0.516 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.3407, allocations: 0.5197 MB / 0.5165 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.341, allocations: 132.2 kB / 0.5166 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.3411, allocations: 172.4 kB / 0.5168 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.3414, allocations: 203.5 kB / 0.5169 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.3414, allocations: 23.84 kB / 0.517 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.3415, allocations: 24.59 kB / 0.517 GB, free: 35.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.3416, allocations: 79.66 kB / 0.5171 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.3418, allocations: 253.1 kB / 0.5173 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003731/0.3421, allocations: 0.4925 MB / 0.5178 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3422, allocations: 0 / 0.5178 GB, free: 34.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3422, allocations: 2.688 kB / 0.5178 GB, free: 34.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3422, allocations: 0 / 0.5178 GB, free: 34.75 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007764/0.343, allocations: 0.634 MB / 0.5184 GB, free: 34.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.343, allocations: 9.188 kB / 0.5184 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.3431, allocations: 52.11 kB / 0.5185 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3434, allocations: 290.5 kB / 0.5187 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.3434, allocations: 36.59 kB / 0.5188 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-05/0.3435, allocations: 53.33 kB / 0.5188 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.3441, allocations: 454.5 kB / 0.5193 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.3442, allocations: 12.44 kB / 0.5193 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.3442, allocations: 21.53 kB / 0.5193 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3442, allocations: 17.19 kB / 0.5193 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.3446, allocations: 263.9 kB / 0.5196 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3463, allocations: 1.697 MB / 0.5212 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.3467, allocations: 415.2 kB / 0.5216 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3468, allocations: 152.8 kB / 0.5218 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3469, allocations: 5.844 kB / 0.5218 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3469, allocations: 48.83 kB / 0.5218 GB, free: 31.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.844e-06/0.3469, allocations: 3.938 kB / 0.5218 GB, free: 31.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005842/0.3475, allocations: 353.6 kB / 0.5222 GB, free: 31.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.3476, allocations: 279.5 kB / 0.5224 GB, free: 31.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.3477, allocations: 243.2 kB / 0.5227 GB, free: 31.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.3478, allocations: 33.7 kB / 0.5227 GB, free: 31.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.3479, allocations: 246.1 kB / 0.5229 GB, free: 30.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.3479, allocations: 182.8 kB / 0.5231 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.503e-05/0.348, allocations: 13.72 kB / 0.5231 GB, free: 30.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.576e-05/0.348, allocations: 345.5 kB / 0.5234 GB, free: 30.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3482, allocations: 122.8 kB / 0.5236 GB, free: 30.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.3485, allocations: 417.7 kB / 0.524 GB, free: 29.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.3489, allocations: 0.5711 MB / 0.5245 GB, free: 29.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.349, allocations: 5.312 kB / 0.5245 GB, free: 29.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006591/0.3496, allocations: 0.565 MB / 0.5251 GB, free: 29.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3497, allocations: 8.75 kB / 0.5251 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3497, allocations: 8.781 kB / 0.5251 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.3497, allocations: 14.34 kB / 0.5251 GB, free: 29.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.3502, allocations: 181.1 kB / 0.5253 GB, free: 29.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.3502, allocations: 22.36 kB / 0.5253 GB, free: 29.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.3505, allocations: 63.47 kB / 0.5254 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.3505, allocations: 29.09 kB / 0.5254 GB, free: 29.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001388/0.3506, allocations: 188.6 kB / 0.5256 GB, free: 28.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3508, allocations: 41.22 kB / 0.5256 GB, free: 28.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.3509, allocations: 45.44 kB / 0.5256 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3509, allocations: 12.91 kB / 0.5257 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.3509, allocations: 0 / 0.5257 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3509, allocations: 3 kB / 0.5257 GB, free: 28.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008031/0.3517, allocations: 415.6 kB / 0.5261 GB, free: 28.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3517, allocations: 4 kB / 0.5261 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.3523, allocations: 122.8 kB / 0.5262 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3523, allocations: 5.406 kB / 0.5262 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3523, allocations: 13.75 kB / 0.5262 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3523, allocations: 6.906 kB / 0.5262 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3523, allocations: 2.25 kB / 0.5262 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.3529, allocations: 1.083 MB / 0.5273 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.3529, allocations: 105.5 kB / 0.5274 GB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.353, allocations: 16.88 kB / 0.5274 GB, free: 27.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.3534, allocations: 25.64 kB / 0.5274 GB, free: 27.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3534, allocations: 32 kB / 0.5274 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3535, allocations: 12.19 kB / 0.5274 GB, free: 27.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3536, allocations: 169.1 kB / 0.5276 GB, free: 27.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3536, allocations: 3.938 kB / 0.5276 GB, free: 27.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006847/0.3543, allocations: 140.3 kB / 0.5277 GB, free: 27.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.0001298/0.3544, allocations: 124.4 kB / 0.5279 GB, free: 27.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.3548, allocations: 337.5 kB / 0.5282 GB, free: 27.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3548, allocations: 4.062 kB / 0.5282 GB, free: 27.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.355, allocations: 123.8 kB / 0.5283 GB, free: 27.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3561, allocations: 86.33 kB / 0.5284 GB, free: 27.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.3585, allocations: 2.489 MB / 0.5308 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3588, allocations: 0.8303 MB / 0.5316 GB, free: 24.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001698/0.3589, allocations: 50.02 kB / 0.5317 GB, free: 24.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.359, allocations: 34.34 kB / 0.5317 GB, free: 24.53 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.359, allocations: 0 / 0.5317 GB, free: 24.53 MB / 378.7 MB Notification: Performance of Templates: time 0.006676/0.3657, allocations: 3.871 MB / 0.5355 GB, free: 24.25 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches