Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 46.93 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 0.492 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1245, allocations: 66 MB / 0.5565 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004147/0.1287, allocations: 2.632 MB / 0.5591 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1301, allocations: 0.7283 MB / 0.5598 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1302, allocations: 11.94 kB / 0.5598 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.1304, allocations: 47.52 kB / 0.5598 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.1306, allocations: 91.19 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1309, allocations: 103.8 kB / 0.56 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.1313, allocations: 334.5 kB / 0.5603 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1314, allocations: 69.94 kB / 0.5604 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1317, allocations: 139.5 kB / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.1319, allocations: 131.4 kB / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.1319, allocations: 23.94 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.495e-05/0.132, allocations: 28 kB / 0.5607 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.36e-05/0.1321, allocations: 55.81 kB / 0.5608 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.1322, allocations: 143.2 kB / 0.5609 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000396/0.1326, allocations: 314.5 kB / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1326, allocations: 0 / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1326, allocations: 0 / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.1326, allocations: 4 kB / 0.5612 GB, free: 484 kB / 414.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.001062/0.1337, allocations: 0.5961 MB / 0.5618 GB, free: 15.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1337, allocations: 12.03 kB / 0.5618 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.134, allocations: 48.72 kB / 0.5618 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.1344, allocations: 284.8 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1344, allocations: 20.94 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.1345, allocations: 28.33 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.135, allocations: 286.2 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.135, allocations: 3.953 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.1351, allocations: 15.94 kB / 0.5625 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.1351, allocations: 8 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.1355, allocations: 185.8 kB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.1373, allocations: 1.302 MB / 0.5639 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.1378, allocations: 238.3 kB / 0.5641 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.138, allocations: 95.39 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.138, allocations: 8.125 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.1381, allocations: 38.56 kB / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.1381, allocations: 0 / 0.5643 GB, free: 13.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=32): time 0.002819/0.1409, allocations: 1.581 MB / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.706e-05/0.141, allocations: 132.5 kB / 0.5659 GB, free: 11.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.1412, allocations: 233 kB / 0.5662 GB, free: 10.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1412, allocations: 37.64 kB / 0.5662 GB, free: 10.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1414, allocations: 176.5 kB / 0.5664 GB, free: 10.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1415, allocations: 122.9 kB / 0.5665 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1416, allocations: 66.14 kB / 0.5666 GB, free: 10.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1418, allocations: 342.8 kB / 0.5669 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.142, allocations: 104.9 kB / 0.567 GB, free: 10.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.1424, allocations: 241.4 kB / 0.5672 GB, free: 9.719 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.1431, allocations: 370.2 kB / 0.5676 GB, free: 9.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1431, allocations: 0 / 0.5676 GB, free: 9.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008217/0.1439, allocations: 396.8 kB / 0.5679 GB, free: 8.902 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.144, allocations: 8 kB / 0.568 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.144, allocations: 4.406 kB / 0.568 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.144, allocations: 12 kB / 0.568 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.1444, allocations: 99.88 kB / 0.5681 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.1444, allocations: 11.92 kB / 0.5681 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1446, allocations: 27.98 kB / 0.5681 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.1446, allocations: 12 kB / 0.5681 GB, free: 8.73 MB / 430.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.0001629/0.1448, allocations: 159.8 kB / 0.5683 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1449, allocations: 31.75 kB / 0.5683 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.91e-05/0.145, allocations: 37.94 kB / 0.5683 GB, free: 8.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.145, allocations: 4 kB / 0.5683 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.145, allocations: 0 / 0.5683 GB, free: 8.492 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.145, allocations: 11.97 kB / 0.5683 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.1466, allocations: 0.9778 MB / 0.5693 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1466, allocations: 4 kB / 0.5693 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.147, allocations: 75.88 kB / 0.5694 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.147, allocations: 4 kB / 0.5694 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.147, allocations: 11.94 kB / 0.5694 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.147, allocations: 8 kB / 0.5694 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.147, allocations: 4 kB / 0.5694 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1481, allocations: 0.7336 MB / 0.5701 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.1482, allocations: 100.9 kB / 0.5702 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.1482, allocations: 19.94 kB / 0.5702 GB, free: 6.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.1485, allocations: 23.91 kB / 0.5703 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.1486, allocations: 27.97 kB / 0.5703 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.1486, allocations: 12 kB / 0.5703 GB, free: 6.375 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1488, allocations: 160.5 kB / 0.5705 GB, free: 6.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1488, allocations: 0 / 0.5705 GB, free: 6.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004813/0.1493, allocations: 68 kB / 0.5705 GB, free: 6.152 MB / 430.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.000129/0.1494, allocations: 99.3 kB / 0.5706 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006649/0.1501, allocations: 271.5 kB / 0.5709 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1501, allocations: 0 / 0.5709 GB, free: 5.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.1504, allocations: 128.8 kB / 0.571 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.151, allocations: 49.11 kB / 0.571 GB, free: 5.609 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1526, allocations: 0.9077 MB / 0.5719 GB, free: 4.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.153, allocations: 0.772 MB / 0.5727 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.466e-05/0.1531, allocations: 27.44 kB / 0.5727 GB, free: 3.824 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1531, allocations: 0 / 0.5727 GB, free: 3.824 MB / 430.1 MB Notification: Performance of Templates: time 0.006226/0.1593, allocations: 3.409 MB / 0.576 GB, free: 428 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.7249788170156535]