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.001526/0.001526, allocations: 103.1 kB / 15.98 MB, free: 6.352 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.001697/0.001697, allocations: 190 kB / 16.91 MB, free: 6.191 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.683/1.683, allocations: 205.1 MB / 222.8 MB, free: 12.48 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.2251/0.2251, allocations: 43.52 MB / 313.6 MB, free: 0.707 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.002294/0.002293, allocations: 68.8 kB / 382.2 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.121, allocations: 57.79 MB / 440 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003338/0.1244, allocations: 2.638 MB / 442.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.1253, allocations: 0.6943 MB / 443.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1254, allocations: 7.938 kB / 443.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1256, allocations: 31.72 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.1258, allocations: 75.39 kB / 443.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.126, allocations: 71.92 kB / 443.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.1263, allocations: 338.5 kB / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.1265, allocations: 86.14 kB / 443.9 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1267, allocations: 115.6 kB / 444 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1268, allocations: 139.3 kB / 444.2 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.1269, allocations: 20 kB / 444.2 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.1269, allocations: 24 kB / 444.2 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.127, allocations: 55.77 kB / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1271, allocations: 139.3 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1273, allocations: 290.9 kB / 444.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1273, allocations: 7.938 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1273, allocations: 0 / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1274, allocations: 0 / 444.7 MB, free: 2.617 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.0007912/0.1282, allocations: 0.5884 MB / 445.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1282, allocations: 11.89 kB / 445.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.1283, allocations: 36.56 kB / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1286, allocations: 255.7 kB / 445.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1286, allocations: 20.94 kB / 445.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.1286, allocations: 32.28 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.1291, allocations: 282.2 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.1291, allocations: 4 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.1291, allocations: 12 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1291, allocations: 11.98 kB / 445.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.1295, allocations: 183.8 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.1309, allocations: 1.31 MB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.1313, allocations: 246.5 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.1316, allocations: 99.39 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1316, allocations: 4 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.1317, allocations: 42.5 kB / 447.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 2.925e-06/0.1317, allocations: 0 / 447.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002492/0.1342, allocations: 1.569 MB / 449.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.157e-05/0.1342, allocations: 132.5 kB / 449.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.1345, allocations: 217 kB / 449.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.1345, allocations: 33.7 kB / 449.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1346, allocations: 180.2 kB / 449.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.1347, allocations: 118.3 kB / 450.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.1348, allocations: 70.14 kB / 450.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1349, allocations: 334.8 kB / 450.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.1352, allocations: 100.8 kB / 450.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.1355, allocations: 245.4 kB / 450.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.1361, allocations: 365.1 kB / 451.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1361, allocations: 0 / 451.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007214/0.1368, allocations: 397.5 kB / 451.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.1369, allocations: 11.94 kB / 451.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.1369, allocations: 7.938 kB / 451.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.1369, allocations: 8 kB / 451.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.1373, allocations: 95.88 kB / 451.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.1373, allocations: 12.25 kB / 451.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1375, allocations: 28.25 kB / 451.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.1376, allocations: 24.08 kB / 451.7 MB, free: 10.92 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.0001423/0.1377, allocations: 157.6 kB / 451.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.1378, allocations: 31.66 kB / 451.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.1379, allocations: 33.7 kB / 451.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1379, allocations: 4 kB / 451.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1379, allocations: 0 / 451.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1379, allocations: 0 / 451.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.1394, allocations: 1.001 MB / 452.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1395, allocations: 0 / 452.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.1398, allocations: 79.89 kB / 453 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1398, allocations: 0 / 453 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1399, allocations: 11.94 kB / 453 MB, free: 9.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.505e-05/0.1399, allocations: 11.97 kB / 453 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1399, allocations: 0 / 453 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.1412, allocations: 0.7364 MB / 453.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.1413, allocations: 100.7 kB / 453.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.1414, allocations: 12 kB / 453.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.1417, allocations: 15.98 kB / 453.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.1418, allocations: 27.91 kB / 453.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.1418, allocations: 19.98 kB / 453.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.142, allocations: 152.5 kB / 454.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.62e-07/0.142, allocations: 0 / 454.1 MB, free: 8.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.1426, allocations: 64 kB / 454.2 MB, free: 8.359 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.0002227/0.1429, allocations: 111.2 kB / 454.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007805/0.1436, allocations: 284.2 kB / 454.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1437, allocations: 0 / 454.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.1439, allocations: 125.3 kB / 454.7 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008648/0.1448, allocations: 59.28 kB / 454.7 MB, free: 7.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1466, allocations: 0.992 MB / 455.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.147, allocations: 0.7681 MB / 456.5 MB, free: 5.953 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.1472, allocations: 34.95 kB / 456.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.1472, allocations: 27.42 kB / 456.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1473, allocations: 4 kB / 456.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of Templates: time 0.005934/0.1532, allocations: 2.298 MB / 458.8 MB, free: 3.602 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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches