Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 71.88 kB / 419 MB, free: 19.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1162, allocations: 62.45 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003864/0.1201, allocations: 2.627 MB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1215, allocations: 0.7245 MB / 484.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1217, allocations: 7.938 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1219, allocations: 51.52 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1221, allocations: 87.2 kB / 484.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1224, allocations: 91.86 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000415/0.1228, allocations: 342.5 kB / 485.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.123, allocations: 77.94 kB / 485.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.1232, allocations: 135.5 kB / 485.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.1234, allocations: 139.4 kB / 485.7 MB, free: 260 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.1235, allocations: 20 kB / 485.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.941e-05/0.1236, allocations: 27.94 kB / 485.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.1236, allocations: 47.84 kB / 485.8 MB, free: 164 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.1238, allocations: 151.2 kB / 486 MB, free: 12 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.1241, allocations: 310.8 kB / 486.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1241, allocations: 0 / 486.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1242, allocations: 0 / 486.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1242, allocations: 0 / 486.3 MB, free: 15.71 MB / 366.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.0008777/0.1251, allocations: 0.5846 MB / 486.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1251, allocations: 8.031 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.1253, allocations: 52.53 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.1257, allocations: 284.6 kB / 487.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1257, allocations: 20.94 kB / 487.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.1258, allocations: 28.38 kB / 487.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.1262, allocations: 290.2 kB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1263, allocations: 3.906 kB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1263, allocations: 12 kB / 487.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.1263, allocations: 4 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.1267, allocations: 187.7 kB / 487.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.1283, allocations: 1.317 MB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.1287, allocations: 242.4 kB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1289, allocations: 99.58 kB / 489.4 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1289, allocations: 11.92 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1289, allocations: 34.56 kB / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.472e-06/0.129, allocations: 0 / 489.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002412/0.1314, allocations: 1.564 MB / 491 MB, free: 10.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.1315, allocations: 136.5 kB / 491.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1317, allocations: 230.1 kB / 491.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1317, allocations: 37.7 kB / 491.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.1318, allocations: 172.2 kB / 491.5 MB, free: 9.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.1319, allocations: 122.2 kB / 491.7 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.132, allocations: 66.12 kB / 491.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1321, allocations: 338.8 kB / 492.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.1324, allocations: 104.7 kB / 492.2 MB, free: 9.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.1327, allocations: 237.5 kB / 492.4 MB, free: 8.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.1333, allocations: 368.7 kB / 492.8 MB, free: 8.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1333, allocations: 4 kB / 492.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007064/0.134, allocations: 396.6 kB / 493.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.134, allocations: 8 kB / 493.2 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.134, allocations: 4 kB / 493.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.1341, allocations: 8 kB / 493.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.1344, allocations: 108.2 kB / 493.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1345, allocations: 4 kB / 493.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.1347, allocations: 27.98 kB / 493.3 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1347, allocations: 12 kB / 493.3 MB, free: 7.977 MB / 366.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.0001413/0.1348, allocations: 161.6 kB / 493.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1349, allocations: 35.8 kB / 493.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.551e-05/0.135, allocations: 29.7 kB / 493.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.135, allocations: 11.98 kB / 493.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.135, allocations: 4 kB / 493.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1351, allocations: 0 / 493.5 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.1365, allocations: 0.9743 MB / 494.5 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.1365, allocations: 7.984 kB / 494.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.1368, allocations: 75.95 kB / 494.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1369, allocations: 4.281 kB / 494.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.1369, allocations: 11.94 kB / 494.6 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.1369, allocations: 7.938 kB / 494.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1369, allocations: 7.922 kB / 494.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.1378, allocations: 0.7251 MB / 495.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.1379, allocations: 100.8 kB / 495.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1379, allocations: 12 kB / 495.5 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.1382, allocations: 19.98 kB / 495.5 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.237e-05/0.1383, allocations: 23.91 kB / 495.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1383, allocations: 19.98 kB / 495.5 MB, free: 5.637 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1384, allocations: 156.5 kB / 495.7 MB, free: 5.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1385, allocations: 0 / 495.7 MB, free: 5.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004696/0.1389, allocations: 68 kB / 495.8 MB, free: 5.422 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.0001132/0.139, allocations: 103.2 kB / 495.9 MB, free: 5.312 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005887/0.1396, allocations: 280.3 kB / 496.1 MB, free: 5.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1397, allocations: 4 kB / 496.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.1399, allocations: 132.7 kB / 496.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.1406, allocations: 51.58 kB / 496.3 MB, free: 4.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1419, allocations: 0.8725 MB / 497.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1422, allocations: 0.772 MB / 498 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.1424, allocations: 38.89 kB / 498 MB, free: 3.102 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.1424, allocations: 27.42 kB / 498 MB, free: 3.074 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1424, allocations: 0 / 498 MB, free: 3.074 MB / 366.1 MB Notification: Performance of Templates: time 0.005499/0.148, allocations: 2.415 MB / 0.4887 GB, free: 0.6797 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches