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.001345/0.001345, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.1 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 76.78 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 62.44 MB / 479.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003806/0.117, allocations: 2.673 MB / 482.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1185, allocations: 0.7245 MB / 483.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.1186, allocations: 4 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1188, allocations: 35.7 kB / 483.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.119, allocations: 71.39 kB / 483.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1193, allocations: 95.84 kB / 483.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.1196, allocations: 322.5 kB / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1198, allocations: 69.81 kB / 483.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.12, allocations: 119.5 kB / 484 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1202, allocations: 119.4 kB / 484.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.1202, allocations: 16 kB / 484.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.1203, allocations: 23.98 kB / 484.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.1203, allocations: 47.77 kB / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.1205, allocations: 139.2 kB / 484.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1207, allocations: 223.7 kB / 484.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1207, allocations: 4 kB / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1207, allocations: 0 / 484.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1208, allocations: 0 / 484.6 MB, free: 1.062 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.0008686/0.1216, allocations: 0.5846 MB / 485.2 MB, free: 440 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1217, allocations: 8.031 kB / 485.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.1219, allocations: 52.55 kB / 485.2 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1222, allocations: 272.7 kB / 485.5 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.1222, allocations: 24.88 kB / 485.5 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.1223, allocations: 28.38 kB / 485.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.1228, allocations: 290.3 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1228, allocations: 3.906 kB / 485.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.1229, allocations: 12 kB / 485.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1229, allocations: 7.938 kB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.1233, allocations: 179.8 kB / 486 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.1249, allocations: 1.309 MB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.1253, allocations: 246.3 kB / 487.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1255, allocations: 103.3 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1256, allocations: 4.156 kB / 487.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.1256, allocations: 42.69 kB / 487.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.1256, allocations: 0 / 487.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002559/0.1282, allocations: 1.568 MB / 489.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/0.1283, allocations: 132.5 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1285, allocations: 228.9 kB / 489.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.1285, allocations: 29.7 kB / 489.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1286, allocations: 180.2 kB / 489.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.1287, allocations: 114.3 kB / 490 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1288, allocations: 74.14 kB / 490 MB, free: 11.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.129, allocations: 342.8 kB / 490.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.1292, allocations: 101.1 kB / 490.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.1296, allocations: 237.4 kB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006037/0.1302, allocations: 370.3 kB / 491.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1302, allocations: 4 kB / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007256/0.1309, allocations: 408.6 kB / 491.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1309, allocations: 8 kB / 491.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.131, allocations: 4 kB / 491.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.131, allocations: 8 kB / 491.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.1314, allocations: 91.88 kB / 491.6 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.1314, allocations: 15.92 kB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.1316, allocations: 28.3 kB / 491.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.1316, allocations: 20.78 kB / 491.6 MB, free: 9.332 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.000147/0.1318, allocations: 149.7 kB / 491.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1319, allocations: 31.56 kB / 491.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.752e-05/0.132, allocations: 37.94 kB / 491.9 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.132, allocations: 11.92 kB / 491.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.132, allocations: 0 / 491.9 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.132, allocations: 3.984 kB / 491.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.1334, allocations: 0.9778 MB / 492.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1335, allocations: 4 kB / 492.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.1338, allocations: 75.88 kB / 492.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1338, allocations: 4 kB / 492.9 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.1339, allocations: 11.94 kB / 492.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1339, allocations: 0 / 492.9 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.1339, allocations: 12 kB / 493 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009489/0.1348, allocations: 0.7256 MB / 493.7 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.1349, allocations: 96.83 kB / 493.8 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.135, allocations: 12 kB / 493.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.1353, allocations: 20.5 kB / 493.8 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.1353, allocations: 31.91 kB / 493.8 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1354, allocations: 16 kB / 493.8 MB, free: 7.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1355, allocations: 164.4 kB / 494 MB, free: 6.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1355, allocations: 0 / 494 MB, free: 6.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.136, allocations: 68 kB / 494.1 MB, free: 6.781 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.0001158/0.1361, allocations: 99.19 kB / 494.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.1367, allocations: 283.5 kB / 494.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1368, allocations: 0 / 494.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.137, allocations: 128.7 kB / 494.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.1377, allocations: 55.91 kB / 494.6 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1391, allocations: 1.016 MB / 495.6 MB, free: 5.156 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1395, allocations: 0.7722 MB / 496.4 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.1396, allocations: 31.44 kB / 496.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1396, allocations: 0 / 496.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of Templates: time 0.005033/0.1446, allocations: 3.342 MB / 499.8 MB, free: 0.9844 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 -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