Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 100.5 kB / 16.27 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 188.6 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.1 MB / 223.1 MB, free: 12.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2313/0.2313, allocations: 43.53 MB / 313.9 MB, free: 0.5078 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 71.27 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1318, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003128/0.1349, allocations: 2.605 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.1359, allocations: 0.6864 MB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1361, allocations: 4 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.1362, allocations: 47.53 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1364, allocations: 87.2 kB / 443.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.1366, allocations: 83.88 kB / 444 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1369, allocations: 338.5 kB / 444.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.137, allocations: 78.17 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1371, allocations: 123.6 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1373, allocations: 135.3 kB / 444.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1373, allocations: 27.98 kB / 444.7 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.682e-05/0.1374, allocations: 20 kB / 444.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.1374, allocations: 55.77 kB / 444.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.425e-05/0.1375, allocations: 143.2 kB / 444.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1377, allocations: 290.9 kB / 445.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1377, allocations: 0 / 445.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1377, allocations: 0 / 445.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1378, allocations: 0 / 445.2 MB, free: 2.18 MB / 318.1 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.0007625/0.1385, allocations: 0.6001 MB / 445.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1386, allocations: 11.89 kB / 445.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.1386, allocations: 32.56 kB / 445.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1389, allocations: 263.7 kB / 446.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1389, allocations: 16.94 kB / 446.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1389, allocations: 28.28 kB / 446.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1393, allocations: 282.2 kB / 446.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1393, allocations: 4 kB / 446.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.1394, allocations: 8 kB / 446.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1394, allocations: 8 kB / 446.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.1397, allocations: 191.7 kB / 446.6 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1413, allocations: 1.306 MB / 447.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.1417, allocations: 254.5 kB / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.1419, allocations: 95.39 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1419, allocations: 4 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.142, allocations: 42.5 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.142, allocations: 3.938 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002607/0.1446, allocations: 1.557 MB / 449.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.1447, allocations: 140.5 kB / 450 MB, free: 12.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.1449, allocations: 221 kB / 450.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.145, allocations: 33.7 kB / 450.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1451, allocations: 180.1 kB / 450.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.993e-05/0.1452, allocations: 114.3 kB / 450.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1453, allocations: 70.12 kB / 450.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1455, allocations: 334.8 kB / 451 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.1457, allocations: 104.8 kB / 451.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.1461, allocations: 241.4 kB / 451.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006408/0.1467, allocations: 364.8 kB / 451.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1468, allocations: 0 / 451.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007503/0.1475, allocations: 404.9 kB / 452 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1476, allocations: 8.406 kB / 452 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.1476, allocations: 8 kB / 452.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.1476, allocations: 8 kB / 452.1 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.148, allocations: 99.81 kB / 452.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.148, allocations: 11.94 kB / 452.2 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.1483, allocations: 27.98 kB / 452.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.1483, allocations: 15.98 kB / 452.2 MB, free: 10.48 MB / 334.1 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.0001373/0.1484, allocations: 157.7 kB / 452.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1485, allocations: 31.66 kB / 452.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.1486, allocations: 33.7 kB / 452.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1486, allocations: 4 kB / 452.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1487, allocations: 192 / 452.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1487, allocations: 0 / 452.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.1501, allocations: 0.9892 MB / 453.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1502, allocations: 4.062 kB / 453.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.1505, allocations: 83.88 kB / 453.5 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.1505, allocations: 4 kB / 453.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.1506, allocations: 12.38 kB / 453.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1506, allocations: 0.7812 kB / 453.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1506, allocations: 4 kB / 453.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.1516, allocations: 0.7364 MB / 454.3 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.1517, allocations: 104.7 kB / 454.4 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.1518, allocations: 12 kB / 454.4 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.1521, allocations: 15.98 kB / 454.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1522, allocations: 27.91 kB / 454.4 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1522, allocations: 12 kB / 454.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1524, allocations: 156.5 kB / 454.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1524, allocations: 0 / 454.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000477/0.1528, allocations: 68 kB / 454.7 MB, free: 7.922 MB / 334.1 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.000122/0.153, allocations: 107.2 kB / 454.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006306/0.1536, allocations: 284.4 kB / 455 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1536, allocations: 0 / 455 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.1539, allocations: 132.4 kB / 455.2 MB, free: 7.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.1546, allocations: 52.78 kB / 455.2 MB, free: 7.352 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1562, allocations: 0.8839 MB / 456.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1566, allocations: 0.772 MB / 456.9 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.1568, allocations: 34.95 kB / 456.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.1568, allocations: 23.44 kB / 456.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1569, allocations: 0 / 456.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of Templates: time 0.005751/0.1626, allocations: 2.398 MB / 459.3 MB, free: 3.18 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches