Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 173.6 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.531/1.531, 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.0008589/0.0008589, allocations: 92.14 kB / 295.1 MB, free: 9.504 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.3709/0.3709, allocations: 44.32 MB / 390.5 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.0003571, allocations: 12 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3294, allocations: 61.9 MB / 0.5127 GB, free: 38.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002117/0.3316, allocations: 2.21 MB / 0.5149 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007452/0.3324, allocations: 0.6232 MB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3325, allocations: 5.781 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3326, allocations: 29.11 kB / 0.5155 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.3328, allocations: 78.25 kB / 0.5156 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.333, allocations: 73.66 kB / 0.5157 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.3333, allocations: 318.4 kB / 0.516 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3334, allocations: 67.28 kB / 0.516 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.3336, allocations: 108.6 kB / 0.5161 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3337, allocations: 121.8 kB / 0.5163 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.3338, allocations: 15.84 kB / 0.5163 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.3338, allocations: 11.38 kB / 0.5163 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.3339, allocations: 42.5 kB / 0.5163 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.334, allocations: 166.5 kB / 0.5165 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3342, allocations: 277 kB / 0.5168 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3342, allocations: 0 / 0.5168 GB, free: 35.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3342, allocations: 0 / 0.5168 GB, free: 35.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3342, allocations: 0 / 0.5168 GB, free: 35.34 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006701/0.3349, allocations: 0.5477 MB / 0.5173 GB, free: 34.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.335, allocations: 8.5 kB / 0.5173 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.335, allocations: 33.94 kB / 0.5173 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.3353, allocations: 271.2 kB / 0.5176 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3353, allocations: 17.34 kB / 0.5176 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.3353, allocations: 39.75 kB / 0.5176 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.3357, allocations: 286.6 kB / 0.5179 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3358, allocations: 2.438 kB / 0.5179 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3358, allocations: 10.53 kB / 0.5179 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3358, allocations: 5.938 kB / 0.5179 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.3362, allocations: 199.9 kB / 0.5181 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.3376, allocations: 1.329 MB / 0.5194 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.338, allocations: 256.5 kB / 0.5197 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3382, allocations: 106.1 kB / 0.5198 GB, free: 33.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3382, allocations: 11.05 kB / 0.5198 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3382, allocations: 37.53 kB / 0.5198 GB, free: 33.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.3382, allocations: 0 / 0.5198 GB, free: 33.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002126/0.3404, allocations: 1.621 MB / 0.5214 GB, free: 31.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3404, allocations: 131.4 kB / 0.5215 GB, free: 31.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.3406, allocations: 226.5 kB / 0.5217 GB, free: 31.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3406, allocations: 32.64 kB / 0.5218 GB, free: 31.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.3407, allocations: 181 kB / 0.5219 GB, free: 31.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.3407, allocations: 115.8 kB / 0.5221 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.3408, allocations: 10.78 kB / 0.5221 GB, free: 31.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.3408, allocations: 343.1 kB / 0.5224 GB, free: 30.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.3411, allocations: 115.3 kB / 0.5225 GB, free: 30.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.3413, allocations: 241.9 kB / 0.5227 GB, free: 30.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.3418, allocations: 386 kB / 0.5231 GB, free: 30.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3419, allocations: 3.094 kB / 0.5231 GB, free: 30.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006436/0.3425, allocations: 416.9 kB / 0.5235 GB, free: 30.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3425, allocations: 6 kB / 0.5235 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3425, allocations: 5.938 kB / 0.5235 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.3426, allocations: 9.031 kB / 0.5235 GB, free: 30.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.3429, allocations: 111.7 kB / 0.5236 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3429, allocations: 5.906 kB / 0.5236 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3431, allocations: 42.33 kB / 0.5237 GB, free: 30.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.3432, allocations: 14.41 kB / 0.5237 GB, free: 30.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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.0001086/0.3433, allocations: 155.9 kB / 0.5238 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.3434, allocations: 30.09 kB / 0.5239 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.3435, allocations: 30.89 kB / 0.5239 GB, free: 29.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3435, allocations: 2.938 kB / 0.5239 GB, free: 29.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3435, allocations: 2.781 kB / 0.5239 GB, free: 29.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3435, allocations: 2.953 kB / 0.5239 GB, free: 29.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.3447, allocations: 1.012 MB / 0.5249 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3447, allocations: 6.906 kB / 0.5249 GB, free: 29.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.345, allocations: 85.69 kB / 0.525 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.345, allocations: 3 kB / 0.525 GB, free: 29.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3451, allocations: 10.91 kB / 0.525 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.3451, allocations: 10 kB / 0.525 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3451, allocations: 0 / 0.525 GB, free: 29.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007688/0.3458, allocations: 0.7647 MB / 0.5257 GB, free: 28.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.3459, allocations: 96.92 kB / 0.5258 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.346, allocations: 14.5 kB / 0.5259 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.3462, allocations: 23.34 kB / 0.5259 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.669e-05/0.3463, allocations: 28.89 kB / 0.5259 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3463, allocations: 8.406 kB / 0.5259 GB, free: 28.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3464, allocations: 159.5 kB / 0.5261 GB, free: 28.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3465, allocations: 0 / 0.5261 GB, free: 28.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004143/0.3469, allocations: 64.22 kB / 0.5261 GB, free: 28.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.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 (32): * Single equations (assignments): 32 * 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 9.017e-05/0.347, allocations: 112 kB / 0.5262 GB, free: 28.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000577/0.3476, allocations: 300 kB / 0.5265 GB, free: 28.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3476, allocations: 0 / 0.5265 GB, free: 28.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000247/0.3478, allocations: 146.9 kB / 0.5267 GB, free: 28.22 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.3485, allocations: 42.14 kB / 0.5267 GB, free: 28.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3497, allocations: 1.116 MB / 0.5278 GB, free: 27.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.3499, allocations: 0.772 MB / 0.5285 GB, free: 26.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.3501, allocations: 31.84 kB / 0.5286 GB, free: 26.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.3502, allocations: 27.73 kB / 0.5286 GB, free: 26.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.91e-07/0.3502, allocations: 0 / 0.5286 GB, free: 26.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005025/0.3552, allocations: 2.182 MB / 0.5307 GB, free: 26.51 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches