Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBraking,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 170.4 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.6 MB / 222.4 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007823/0.0007822, allocations: 94.77 kB / 270.8 MB, free: 8.125 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4365/0.4365, allocations: 43.67 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003436, allocations: 8 kB / 432.3 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 58.85 MB / 491.2 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBraking): time 0.002876/0.139, allocations: 2.289 MB / 493.4 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1408, allocations: 1.091 MB / 494.5 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.141, allocations: 11.94 kB / 494.5 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001678/0.1412, allocations: 35.7 kB / 494.6 MB, free: 6.348 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.1414, allocations: 95.22 kB / 494.7 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.1418, allocations: 115.8 kB / 494.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.1422, allocations: 366.1 kB / 495.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1424, allocations: 73.69 kB / 495.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1425, allocations: 119.5 kB / 495.3 MB, free: 5.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1427, allocations: 127.3 kB / 495.5 MB, free: 5.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.1427, allocations: 23.94 kB / 495.5 MB, free: 5.449 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1428, allocations: 31.98 kB / 495.5 MB, free: 5.418 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.1429, allocations: 59.69 kB / 495.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.1431, allocations: 172.9 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1434, allocations: 342.9 kB / 496.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1434, allocations: 0 / 496.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1435, allocations: 0 / 496.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1435, allocations: 0 / 496.1 MB, free: 4.848 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.000826/0.1443, allocations: 0.542 MB / 496.6 MB, free: 4.258 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1443, allocations: 8.031 kB / 496.6 MB, free: 4.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.1446, allocations: 52.45 kB / 496.7 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.1449, allocations: 263.7 kB / 496.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.1449, allocations: 21.03 kB / 497 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.145, allocations: 36.28 kB / 497 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.1456, allocations: 306.6 kB / 497.3 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.1456, allocations: 11.91 kB / 497.3 MB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.1456, allocations: 8 kB / 497.3 MB, free: 3.508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1456, allocations: 8 kB / 497.3 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.146, allocations: 179.8 kB / 497.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.1478, allocations: 1.332 MB / 498.8 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003933/0.1482, allocations: 253 kB / 499.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1483, allocations: 76.27 kB / 499.1 MB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1483, allocations: 4 kB / 499.1 MB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.1484, allocations: 46.48 kB / 499.2 MB, free: 1.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.664e-06/0.1484, allocations: 0 / 499.2 MB, free: 1.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004676/0.1488, allocations: 213.2 kB / 499.4 MB, free: 1.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.1489, allocations: 154.2 kB / 499.6 MB, free: 1.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1492, allocations: 224.1 kB / 499.8 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1492, allocations: 29.7 kB / 499.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1493, allocations: 188.2 kB / 500 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.868e-05/0.1494, allocations: 90.75 kB / 0.4884 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.1494, allocations: 4 kB / 0.4884 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1495, allocations: 334.8 kB / 0.4887 GB, free: 164 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1497, allocations: 67.91 kB / 0.4887 GB, free: 96 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.228/0.3777, allocations: 197.3 kB / 0.4889 GB, free: 42.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.3781, allocations: 298.1 kB / 0.4892 GB, free: 42.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3782, allocations: 1.375 kB / 0.4892 GB, free: 42.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005657/0.3787, allocations: 320.2 kB / 0.4895 GB, free: 42.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.3788, allocations: 8.812 kB / 0.4895 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3788, allocations: 4.469 kB / 0.4895 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.3788, allocations: 8.812 kB / 0.4895 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.3792, allocations: 87.86 kB / 0.4896 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.3792, allocations: 7.812 kB / 0.4896 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.3794, allocations: 46.5 kB / 0.4897 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.3794, allocations: 14.84 kB / 0.4897 GB, free: 42.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (44): * Single equations (assignments): 44 * 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.0001592/0.3796, allocations: 154.6 kB / 0.4898 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3797, allocations: 23.34 kB / 0.4899 GB, free: 42.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.3799, allocations: 83.52 kB / 0.4899 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3799, allocations: 3.531 kB / 0.4899 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.3799, allocations: 6.125 kB / 0.4899 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.3799, allocations: 5.062 kB / 0.49 GB, free: 42.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005675/0.3805, allocations: 311.5 kB / 0.4902 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3805, allocations: 2.922 kB / 0.4903 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.3809, allocations: 64.56 kB / 0.4903 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.3809, allocations: 3.125 kB / 0.4903 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.3809, allocations: 11.16 kB / 0.4903 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3809, allocations: 1.875 kB / 0.4903 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3809, allocations: 1.438 kB / 0.4903 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.3814, allocations: 0.6353 MB / 0.491 GB, free: 41.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.3815, allocations: 99.33 kB / 0.491 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.3815, allocations: 6.719 kB / 0.4911 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3818, allocations: 7.75 kB / 0.4911 GB, free: 41.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.3818, allocations: 19.41 kB / 0.4911 GB, free: 41.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3819, allocations: 10.42 kB / 0.4911 GB, free: 41.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.382, allocations: 153.2 kB / 0.4912 GB, free: 41.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.382, allocations: 0.6562 kB / 0.4912 GB, free: 41.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004751/0.3825, allocations: 82.16 kB / 0.4913 GB, free: 41.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 11 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi,eddyCurrentTorque.phi,inertia5.w,heatCapacitor.T) * 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 (23): * Single equations (assignments): 23 * 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.0001017/0.3826, allocations: 111.7 kB / 0.4914 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003534/0.3829, allocations: 185.2 kB / 0.4916 GB, free: 41.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.383, allocations: 4.188 kB / 0.4916 GB, free: 41.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.3831, allocations: 75.52 kB / 0.4917 GB, free: 41.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.3839, allocations: 54.59 kB / 0.4917 GB, free: 41.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3857, allocations: 1.406 MB / 0.4931 GB, free: 40.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3859, allocations: 0.7698 MB / 0.4938 GB, free: 39.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.3861, allocations: 29.52 kB / 0.4939 GB, free: 39.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.3861, allocations: 25.97 kB / 0.4939 GB, free: 39.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3862, allocations: 4 kB / 0.4939 GB, free: 39.5 MB / 378.7 MB Notification: Performance of Templates: time 0.006198/0.3924, allocations: 2.358 MB / 0.4962 GB, free: 39.34 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestBraking/TestBraking.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestBraking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches