Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007893/0.0007895, allocations: 94.19 kB / 17.35 MB, free: 6.344 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.0008194/0.0008195, allocations: 168.8 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 44.26 MB / 337.7 MB, free: 2.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 8 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 61.93 MB / 472.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.0034/0.1237, allocations: 2.274 MB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1248, allocations: 0.6429 MB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.125, allocations: 15.88 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.1252, allocations: 19.78 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1254, allocations: 79.39 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1256, allocations: 71.88 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.126, allocations: 318.6 kB / 475.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.1263, allocations: 65.81 kB / 475.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.1265, allocations: 119.4 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.1267, allocations: 115.4 kB / 476 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.1267, allocations: 12 kB / 476 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.1268, allocations: 12 kB / 476 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1269, allocations: 43.78 kB / 476 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1271, allocations: 164.9 kB / 476.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.1274, allocations: 275.1 kB / 476.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.1274, allocations: 4 kB / 476.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.1274, allocations: 0 / 476.5 MB, free: 9.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1274, allocations: 0 / 476.5 MB, free: 9.105 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.0009828/0.1284, allocations: 0.5496 MB / 477 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.1285, allocations: 8.031 kB / 477 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/0.1286, allocations: 32.56 kB / 477 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.129, allocations: 260.8 kB / 477.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.129, allocations: 16.94 kB / 477.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.361e-05/0.1291, allocations: 32.28 kB / 477.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.1296, allocations: 294.2 kB / 477.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.1296, allocations: 7.906 kB / 477.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.1296, allocations: 11.94 kB / 477.7 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1297, allocations: 12 kB / 477.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.1302, allocations: 203.7 kB / 477.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.1322, allocations: 1.321 MB / 479.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.1326, allocations: 254.5 kB / 479.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1328, allocations: 111.4 kB / 479.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/0.1329, allocations: 4 kB / 479.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1329, allocations: 46.48 kB / 479.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.954e-06/0.1329, allocations: 0 / 479.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002648/0.1356, allocations: 1.616 MB / 481.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.1357, allocations: 140.5 kB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1359, allocations: 220.9 kB / 481.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.136, allocations: 37.64 kB / 481.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1361, allocations: 172.2 kB / 481.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.1362, allocations: 122.3 kB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.1363, allocations: 37.7 kB / 481.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1364, allocations: 342.8 kB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.1366, allocations: 112.8 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.137, allocations: 251.6 kB / 482.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006434/0.1376, allocations: 390.8 kB / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1376, allocations: 0 / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008186/0.1385, allocations: 432.7 kB / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.1385, allocations: 8 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1385, allocations: 4.094 kB / 483.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1386, allocations: 12 kB / 483.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.1392, allocations: 112.1 kB / 483.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.1392, allocations: 8 kB / 483.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.1395, allocations: 35.92 kB / 483.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1395, allocations: 19.98 kB / 483.6 MB, free: 1.273 MB / 350.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.0001481/0.1397, allocations: 150.2 kB / 483.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/0.1398, allocations: 31.66 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.1399, allocations: 37.7 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1399, allocations: 4 kB / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1399, allocations: 0 / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1399, allocations: 0 / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.1415, allocations: 1.009 MB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1415, allocations: 4 kB / 484.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.1419, allocations: 87.94 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1419, allocations: 0 / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.1419, allocations: 11.94 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1419, allocations: 4 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1419, allocations: 3.984 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009774/0.1429, allocations: 0.7642 MB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.143, allocations: 108.7 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.143, allocations: 12 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.1433, allocations: 23.98 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.1434, allocations: 27.91 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.1435, allocations: 19.92 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1436, allocations: 156.5 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1436, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004648/0.1441, allocations: 64.19 kB / 486.1 MB, free: 14.65 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.000121/0.1442, allocations: 107.2 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.1449, allocations: 296.5 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1449, allocations: 0 / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.1452, allocations: 148 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.1459, allocations: 54.75 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.1473, allocations: 1.093 MB / 487.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1477, allocations: 0.7761 MB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.1478, allocations: 34.95 kB / 488.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.918e-05/0.1479, allocations: 23.44 kB / 488.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1479, allocations: 0 / 488.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.005346/0.1533, allocations: 2.176 MB / 490.8 MB, free: 9.887 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches