Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 183.8 kB / 16.08 MB, free: 5.523 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.65/1.65, allocations: 205.6 MB / 222.4 MB, free: 13.66 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.0007723/0.0007721, allocations: 90.25 kB / 270.8 MB, free: 13.18 MB / 234.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.2346/0.2346, allocations: 43.68 MB / 362.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004433, allocations: 11.98 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1445, allocations: 58.85 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004042/0.1485, allocations: 2.217 MB / 493.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1501, allocations: 0.6557 MB / 494 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.1503, allocations: 4 kB / 494 MB, free: 5.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1505, allocations: 35.7 kB / 494.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.1507, allocations: 71.39 kB / 494.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.1511, allocations: 71.92 kB / 494.2 MB, free: 5.055 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.1516, allocations: 326.5 kB / 494.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.1518, allocations: 71.8 kB / 494.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.1521, allocations: 111.5 kB / 494.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1524, allocations: 115.4 kB / 494.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.098e-05/0.1525, allocations: 12 kB / 494.8 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.518e-05/0.1525, allocations: 12 kB / 494.8 MB, free: 4.422 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1526, allocations: 47.77 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.1528, allocations: 153 kB / 495 MB, free: 4.219 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.1533, allocations: 282.8 kB / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1533, allocations: 3.938 kB / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1533, allocations: 0 / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.1534, allocations: 4 kB / 495.3 MB, free: 3.934 MB / 330.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.00119/0.1546, allocations: 0.5458 MB / 495.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1546, allocations: 8.031 kB / 495.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.1547, allocations: 32.56 kB / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.1552, allocations: 267.5 kB / 496.2 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1552, allocations: 24.94 kB / 496.2 MB, free: 2.977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.1553, allocations: 24.38 kB / 496.2 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/0.1561, allocations: 290.2 kB / 496.5 MB, free: 2.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.1561, allocations: 11.84 kB / 496.5 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.1561, allocations: 8 kB / 496.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1562, allocations: 8 kB / 496.5 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.1568, allocations: 195.8 kB / 496.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.1594, allocations: 1.314 MB / 498 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.1601, allocations: 254.3 kB / 498.3 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.1605, allocations: 111.4 kB / 498.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.1606, allocations: 8.141 kB / 498.4 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.1606, allocations: 50.62 kB / 498.4 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.006e-06/0.1607, allocations: 0 / 498.4 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.00436/0.165, allocations: 1.612 MB / 0.4883 GB, free: 14.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/0.1651, allocations: 140.5 kB / 0.4885 GB, free: 14.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.1655, allocations: 217 kB / 0.4887 GB, free: 14.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.1655, allocations: 29.7 kB / 0.4887 GB, free: 14.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1657, allocations: 180.2 kB / 0.4889 GB, free: 14.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.1658, allocations: 114.3 kB / 0.489 GB, free: 14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.1659, allocations: 8 kB / 0.489 GB, free: 13.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1661, allocations: 338.8 kB / 0.4893 GB, free: 13.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.1665, allocations: 112.8 kB / 0.4894 GB, free: 13.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.1672, allocations: 253.5 kB / 0.4897 GB, free: 13.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.1684, allocations: 397 kB / 0.49 GB, free: 12.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1684, allocations: 7.875 kB / 0.4901 GB, free: 12.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001442/0.1699, allocations: 425 kB / 0.4905 GB, free: 12.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1699, allocations: 8 kB / 0.4905 GB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.17, allocations: 4.781 kB / 0.4905 GB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.17, allocations: 4 kB / 0.4905 GB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.1707, allocations: 103.9 kB / 0.4906 GB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.1707, allocations: 15.92 kB / 0.4906 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.1712, allocations: 32.05 kB / 0.4906 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.1712, allocations: 16 kB / 0.4906 GB, free: 12.17 MB / 346.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.0002151/0.1715, allocations: 153.7 kB / 0.4908 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1717, allocations: 35.56 kB / 0.4908 GB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.1718, allocations: 33.7 kB / 0.4908 GB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1718, allocations: 4 kB / 0.4909 GB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1718, allocations: 0 / 0.4909 GB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.1718, allocations: 11.98 kB / 0.4909 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.1745, allocations: 1.006 MB / 0.4918 GB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.1745, allocations: 8 kB / 0.4919 GB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.1752, allocations: 79.89 kB / 0.4919 GB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1752, allocations: 0 / 0.4919 GB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.1753, allocations: 23.98 kB / 0.492 GB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.1753, allocations: 4 kB / 0.492 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.1753, allocations: 3.938 kB / 0.492 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.1771, allocations: 0.7598 MB / 0.4927 GB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1772, allocations: 100.8 kB / 0.4928 GB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.1773, allocations: 12 kB / 0.4928 GB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.1779, allocations: 27.98 kB / 0.4928 GB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.178, allocations: 27.95 kB / 0.4929 GB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.1781, allocations: 12 kB / 0.4929 GB, free: 9.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002071/0.1783, allocations: 156.5 kB / 0.493 GB, free: 9.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1783, allocations: 0 / 0.493 GB, free: 9.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008787/0.1792, allocations: 68 kB / 0.4931 GB, free: 9.543 MB / 346.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 0.0001614/0.1794, allocations: 119.1 kB / 0.4932 GB, free: 9.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.1806, allocations: 287.7 kB / 0.4935 GB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1806, allocations: 0.6875 kB / 0.4935 GB, free: 9.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000577/0.1812, allocations: 151.7 kB / 0.4936 GB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.1824, allocations: 48.94 kB / 0.4937 GB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.185, allocations: 1.098 MB / 0.4947 GB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/0.1855, allocations: 0.7722 MB / 0.4955 GB, free: 7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002993/0.1859, allocations: 30.95 kB / 0.4955 GB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.186, allocations: 23.44 kB / 0.4955 GB, free: 6.945 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.186, allocations: 11.94 kB / 0.4956 GB, free: 6.934 MB / 346.7 MB Notification: Performance of Templates: time 0.008919/0.195, allocations: 2.169 MB / 0.4977 GB, free: 4.773 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches