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.0009968/0.0009973, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 183.8 kB / 16.92 MB, free: 6.934 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.729/1.729, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4239/0.4239, allocations: 43.57 MB / 315 MB, free: 8.816 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.0006084/0.0006085, allocations: 19.98 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1443, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003037/0.1474, allocations: 2.286 MB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1486, allocations: 0.6788 MB / 446.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.1488, allocations: 11.94 kB / 446.4 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.149, allocations: 19.78 kB / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1492, allocations: 75.39 kB / 446.5 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.1494, allocations: 79.84 kB / 446.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.1498, allocations: 322.6 kB / 446.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.15, allocations: 62.09 kB / 447 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.1502, allocations: 127.4 kB / 447.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1504, allocations: 111.4 kB / 447.2 MB, free: 8.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/0.1505, allocations: 12 kB / 447.2 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.537e-05/0.1505, allocations: 12 kB / 447.2 MB, free: 8.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.1506, allocations: 51.75 kB / 447.3 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1507, allocations: 153 kB / 447.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.1511, allocations: 274.8 kB / 447.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1511, allocations: 0 / 447.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1511, allocations: 0 / 447.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1511, allocations: 0 / 447.7 MB, free: 8.418 MB / 382.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.0009411/0.1521, allocations: 0.5535 MB / 448.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1521, allocations: 12.03 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.542e-05/0.1522, allocations: 32.56 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1525, allocations: 259.7 kB / 448.5 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.1525, allocations: 20.94 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.1526, allocations: 28.28 kB / 448.6 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.1531, allocations: 294.2 kB / 448.9 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1531, allocations: 4 kB / 448.9 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.1532, allocations: 11.98 kB / 448.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1532, allocations: 11.94 kB / 448.9 MB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.1536, allocations: 207.7 kB / 449.1 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.1552, allocations: 1.314 MB / 450.4 MB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.1556, allocations: 258.5 kB / 450.7 MB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.1559, allocations: 111.4 kB / 450.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1559, allocations: 4 kB / 450.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.1559, allocations: 42.48 kB / 450.8 MB, free: 5.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.362e-06/0.156, allocations: 3.938 kB / 450.8 MB, free: 5.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002722/0.1587, allocations: 1.616 MB / 452.4 MB, free: 3.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.1588, allocations: 136.5 kB / 452.6 MB, free: 3.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.159, allocations: 228.9 kB / 452.8 MB, free: 2.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1591, allocations: 29.7 kB / 452.8 MB, free: 2.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1592, allocations: 180.4 kB / 453 MB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.182e-05/0.1593, allocations: 114.3 kB / 453.1 MB, free: 2.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.1593, allocations: 37.7 kB / 453.2 MB, free: 2.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1595, allocations: 338.8 kB / 453.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.1598, allocations: 112.8 kB / 453.6 MB, free: 1.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.1601, allocations: 253.4 kB / 453.8 MB, free: 1.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.1608, allocations: 397.1 kB / 454.2 MB, free: 1.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.1608, allocations: 4 kB / 454.2 MB, free: 1.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007682/0.1616, allocations: 421.6 kB / 454.6 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1616, allocations: 12.06 kB / 454.7 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1616, allocations: 4 kB / 454.7 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.1616, allocations: 8 kB / 454.7 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.162, allocations: 107.8 kB / 454.8 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.162, allocations: 4 kB / 454.8 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1623, allocations: 39.92 kB / 454.8 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1623, allocations: 19.98 kB / 454.8 MB, free: 0.5898 MB / 382.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.0001587/0.1625, allocations: 157.7 kB / 455 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1626, allocations: 31.66 kB / 455 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.1626, allocations: 29.7 kB / 455 MB, free: 368 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.1627, allocations: 4 kB / 455.1 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1627, allocations: 4.234 kB / 455.1 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1627, allocations: 0 / 455.1 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2525/0.4152, allocations: 1.012 MB / 456.1 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.4153, allocations: 8.094 kB / 456.1 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.4156, allocations: 82.88 kB / 456.2 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.877e-06/0.4156, allocations: 5.625 kB / 456.2 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.4157, allocations: 14.17 kB / 456.2 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4157, allocations: 2.688 kB / 456.2 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4157, allocations: 4.875 kB / 456.2 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.4166, allocations: 0.7675 MB / 457 MB, free: 45.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.4167, allocations: 99.17 kB / 457 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.4167, allocations: 7.125 kB / 457.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.4171, allocations: 26.92 kB / 457.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.4172, allocations: 32.47 kB / 457.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.4172, allocations: 10.06 kB / 457.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.4173, allocations: 157.6 kB / 457.3 MB, free: 45.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4173, allocations: 0 / 457.3 MB, free: 45.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.4178, allocations: 67 kB / 457.3 MB, free: 45.32 MB / 382.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.0001046/0.4179, allocations: 110.8 kB / 457.5 MB, free: 45.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005933/0.4185, allocations: 302.9 kB / 457.7 MB, free: 45.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4185, allocations: 0 / 457.7 MB, free: 45.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.4188, allocations: 139.4 kB / 457.9 MB, free: 45.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.4196, allocations: 43.77 kB / 457.9 MB, free: 45.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.4209, allocations: 1.111 MB / 459 MB, free: 44.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.4211, allocations: 0.7688 MB / 459.8 MB, free: 43.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.4213, allocations: 31.7 kB / 459.8 MB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.4214, allocations: 25.25 kB / 459.9 MB, free: 43.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4214, allocations: 0 / 459.9 MB, free: 43.82 MB / 382.1 MB Notification: Performance of Templates: time 0.005446/0.4268, allocations: 2.192 MB / 462.1 MB, free: 43.69 MB / 382.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