Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001797/0.001797, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.18 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 60.66 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1202, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004142/0.1244, allocations: 2.603 MB / 472.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.1257, allocations: 0.6466 MB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.1259, allocations: 7.938 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.1261, allocations: 39.59 kB / 473.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1264, allocations: 87.2 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1267, allocations: 87.81 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003489/0.127, allocations: 330.6 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.1273, allocations: 81.94 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.1274, allocations: 123.5 kB / 473.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1277, allocations: 127.4 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.1277, allocations: 24 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.467e-05/0.1278, allocations: 20 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.1278, allocations: 59.77 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.128, allocations: 139.2 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1283, allocations: 303.1 kB / 474.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1283, allocations: 4 kB / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1283, allocations: 0 / 474.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1283, allocations: 0 / 474.6 MB, free: 9.699 MB / 350.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.0009959/0.1293, allocations: 0.5846 MB / 475.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1294, allocations: 16.03 kB / 475.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.1295, allocations: 32.56 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1298, allocations: 268.4 kB / 475.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.1298, allocations: 20.94 kB / 475.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.1299, allocations: 28.28 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.1304, allocations: 278.3 kB / 475.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.1304, allocations: 7.922 kB / 475.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.1304, allocations: 12 kB / 475.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.1305, allocations: 8 kB / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.1309, allocations: 187.8 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1326, allocations: 1.302 MB / 477.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.1331, allocations: 258.3 kB / 477.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.1333, allocations: 99.39 kB / 477.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1333, allocations: 8.188 kB / 477.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.1334, allocations: 38.5 kB / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.1334, allocations: 0 / 477.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00262/0.136, allocations: 1.576 MB / 479.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.1361, allocations: 132.5 kB / 479.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.1363, allocations: 221 kB / 479.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.1363, allocations: 29.7 kB / 479.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1365, allocations: 180.2 kB / 479.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.1366, allocations: 118.3 kB / 479.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.1367, allocations: 74.14 kB / 480 MB, free: 3.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1368, allocations: 338.8 kB / 480.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.1371, allocations: 96.81 kB / 480.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.1374, allocations: 237.4 kB / 480.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.1381, allocations: 374 kB / 481 MB, free: 2.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1381, allocations: 0 / 481 MB, free: 2.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007921/0.1389, allocations: 392.8 kB / 481.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1389, allocations: 8.094 kB / 481.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1389, allocations: 8.25 kB / 481.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/0.139, allocations: 8 kB / 481.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.1394, allocations: 99.88 kB / 481.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.1394, allocations: 11.94 kB / 481.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.1397, allocations: 32.28 kB / 481.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.1397, allocations: 20 kB / 481.6 MB, free: 1.996 MB / 350.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.0001723/0.1399, allocations: 153.7 kB / 481.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.14, allocations: 27.66 kB / 481.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.1401, allocations: 37.7 kB / 481.8 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1401, allocations: 4 kB / 481.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1401, allocations: 0 / 481.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1401, allocations: 3.984 kB / 481.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.1418, allocations: 0.9816 MB / 482.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.1418, allocations: 0 / 482.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.1422, allocations: 75.89 kB / 482.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1422, allocations: 0 / 482.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.1423, allocations: 19.86 kB / 482.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.1423, allocations: 7.938 kB / 482.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1423, allocations: 4.062 kB / 482.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1433, allocations: 0.7251 MB / 483.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.1434, allocations: 104.7 kB / 483.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.1434, allocations: 12 kB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.1437, allocations: 15.98 kB / 483.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.181e-05/0.1438, allocations: 31.95 kB / 483.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1439, allocations: 12 kB / 483.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.144, allocations: 156.5 kB / 484 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.144, allocations: 192 / 484 MB, free: 15.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000518/0.1445, allocations: 64 kB / 484 MB, free: 15.46 MB / 366.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.0001315/0.1447, allocations: 111.9 kB / 484.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007226/0.1454, allocations: 288.4 kB / 484.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1454, allocations: 0 / 484.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.1457, allocations: 129.1 kB / 484.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.1465, allocations: 60.69 kB / 484.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.148, allocations: 0.8922 MB / 485.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1484, allocations: 0.7681 MB / 486.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.1485, allocations: 31.42 kB / 486.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1485, allocations: 8 kB / 486.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006241/0.1548, allocations: 3.311 MB / 489.6 MB, free: 9.789 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches