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.001128/0.001128, allocations: 112.7 kB / 17.04 MB, free: 5.812 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.001341/0.001341, allocations: 195 kB / 17.97 MB, free: 5.027 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.575/1.575, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.239/0.239, allocations: 43.51 MB / 314.7 MB, free: 496 kB / 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.001445/0.001445, allocations: 68.14 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1239, allocations: 57.79 MB / 442 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003483/0.1274, allocations: 2.606 MB / 444.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1285, allocations: 0.6826 MB / 445.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1287, allocations: 8 kB / 445.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1288, allocations: 47.53 kB / 445.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.129, allocations: 87.19 kB / 445.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1293, allocations: 83.83 kB / 445.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.1296, allocations: 330.5 kB / 445.8 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.1298, allocations: 81.88 kB / 445.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1299, allocations: 127.5 kB / 446 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1301, allocations: 135.4 kB / 446.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.1301, allocations: 24 kB / 446.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.517e-05/0.1302, allocations: 20 kB / 446.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.1302, allocations: 51.78 kB / 446.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.1303, allocations: 147.2 kB / 446.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1306, allocations: 298.9 kB / 446.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1306, allocations: 4 kB / 446.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1306, allocations: 3.938 kB / 446.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1306, allocations: 0 / 446.7 MB, free: 1.441 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.0007621/0.1314, allocations: 0.5846 MB / 447.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1314, allocations: 11.89 kB / 447.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.1315, allocations: 36.5 kB / 447.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1318, allocations: 271.4 kB / 447.6 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.1318, allocations: 16.94 kB / 447.6 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.1318, allocations: 36.28 kB / 447.6 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.1322, allocations: 274.3 kB / 447.9 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.1322, allocations: 11.94 kB / 447.9 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.1323, allocations: 4 kB / 447.9 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.1323, allocations: 12 kB / 447.9 MB, free: 84 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.1327, allocations: 183.9 kB / 448.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.1343, allocations: 1.306 MB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.1347, allocations: 246.3 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.1349, allocations: 95.39 kB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.135, allocations: 16.12 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.135, allocations: 38.55 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.463e-06/0.135, allocations: 0 / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002447/0.1375, allocations: 1.565 MB / 451.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/0.1375, allocations: 132.5 kB / 451.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.1378, allocations: 225 kB / 451.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1378, allocations: 29.7 kB / 451.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1379, allocations: 180.3 kB / 451.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.138, allocations: 118.3 kB / 452 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1381, allocations: 82.06 kB / 452.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1383, allocations: 334.8 kB / 452.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.1385, allocations: 96.81 kB / 452.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.1388, allocations: 241.4 kB / 452.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.1394, allocations: 372.8 kB / 453.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1394, allocations: 0 / 453.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007435/0.1402, allocations: 397.6 kB / 453.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.1402, allocations: 9.25 kB / 453.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1403, allocations: 7.984 kB / 453.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.1403, allocations: 4 kB / 453.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.1407, allocations: 99.88 kB / 453.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.1407, allocations: 15.92 kB / 453.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.1409, allocations: 28.3 kB / 453.7 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.141, allocations: 20 kB / 453.7 MB, free: 9.738 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.0001728/0.1412, allocations: 153.6 kB / 453.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1413, allocations: 31.66 kB / 453.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.1413, allocations: 33.7 kB / 453.9 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1414, allocations: 4 kB / 453.9 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1414, allocations: 4 kB / 453.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1414, allocations: 3.984 kB / 453.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1427, allocations: 0.9855 MB / 454.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1427, allocations: 7.938 kB / 454.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.1431, allocations: 71.89 kB / 455 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.1431, allocations: 4 kB / 455 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.1431, allocations: 15.92 kB / 455 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.1431, allocations: 7.938 kB / 455 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1431, allocations: 0 / 455 MB, free: 8.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/0.1441, allocations: 0.7289 MB / 455.7 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.1442, allocations: 104.7 kB / 455.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1442, allocations: 12 kB / 455.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.1445, allocations: 19.98 kB / 455.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/0.1446, allocations: 23.95 kB / 455.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1446, allocations: 12 kB / 455.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1448, allocations: 156.5 kB / 456.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1448, allocations: 8 kB / 456.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.1452, allocations: 64 kB / 456.1 MB, free: 7.184 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.0001259/0.1454, allocations: 103.2 kB / 456.2 MB, free: 7.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.1459, allocations: 280.4 kB / 456.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1459, allocations: 0 / 456.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.1462, allocations: 127.8 kB / 456.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.1468, allocations: 46.03 kB / 456.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1483, allocations: 0.8683 MB / 457.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.1487, allocations: 0.7681 MB / 458.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.1488, allocations: 38.95 kB / 458.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.1489, allocations: 31.42 kB / 458.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1489, allocations: 0 / 458.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of Templates: time 0.006116/0.155, allocations: 2.397 MB / 460.8 MB, free: 2.469 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches