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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001934/0.001934, allocations: 120.8 kB / 18.45 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002319/0.002319, allocations: 205 kB / 21.41 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.17 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] 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=5004,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=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 76.75 kB / 490.2 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.116, allocations: 62.46 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003853/0.1199, allocations: 2.628 MB / 0.5422 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.1212, allocations: 0.7323 MB / 0.5429 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1213, allocations: 7.938 kB / 0.543 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.1215, allocations: 47.52 kB / 0.543 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1217, allocations: 83.2 kB / 0.5431 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.122, allocations: 99.86 kB / 0.5432 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.1223, allocations: 334.5 kB / 0.5435 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.1225, allocations: 89.86 kB / 0.5436 GB, free: 200 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.1228, allocations: 131.5 kB / 0.5437 GB, free: 68 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.123, allocations: 131.4 kB / 0.5438 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.123, allocations: 24 kB / 0.5439 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.1231, allocations: 24 kB / 0.5439 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.1232, allocations: 55.77 kB / 0.5439 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1233, allocations: 147.2 kB / 0.5441 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.1237, allocations: 314.6 kB / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1237, allocations: 0 / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1237, allocations: 0 / 0.5444 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1237, allocations: 7.984 kB / 0.5444 GB, free: 15.38 MB / 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.0009282/0.1246, allocations: 0.5921 MB / 0.545 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1247, allocations: 8.031 kB / 0.545 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.1249, allocations: 52.72 kB / 0.545 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.1253, allocations: 284.8 kB / 0.5453 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.1254, allocations: 16.94 kB / 0.5453 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.1254, allocations: 36.33 kB / 0.5453 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.1259, allocations: 278.2 kB / 0.5456 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.1259, allocations: 11.94 kB / 0.5456 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.126, allocations: 12 kB / 0.5456 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.126, allocations: 7.984 kB / 0.5456 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.1264, allocations: 177.2 kB / 0.5458 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.1281, allocations: 1.321 MB / 0.5471 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.1285, allocations: 238.4 kB / 0.5473 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.1288, allocations: 99.52 kB / 0.5474 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1288, allocations: 4 kB / 0.5474 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1288, allocations: 42.5 kB / 0.5475 GB, free: 11.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.1288, allocations: 0 / 0.5475 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002841/0.1317, allocations: 1.574 MB / 0.549 GB, free: 10.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.1318, allocations: 136.5 kB / 0.5491 GB, free: 10 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.132, allocations: 232.9 kB / 0.5493 GB, free: 9.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.1321, allocations: 37.64 kB / 0.5494 GB, free: 9.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.1322, allocations: 176.5 kB / 0.5496 GB, free: 9.547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.1323, allocations: 119 kB / 0.5497 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1324, allocations: 74.12 kB / 0.5497 GB, free: 9.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1326, allocations: 338.8 kB / 0.5501 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1328, allocations: 100.8 kB / 0.5502 GB, free: 8.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.1332, allocations: 233.4 kB / 0.5504 GB, free: 8.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000671/0.1339, allocations: 373.3 kB / 0.5507 GB, free: 8.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1339, allocations: 0 / 0.5507 GB, free: 8.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007868/0.1347, allocations: 397.5 kB / 0.5511 GB, free: 7.809 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1347, allocations: 10.19 kB / 0.5511 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1347, allocations: 8.406 kB / 0.5511 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.1348, allocations: 12 kB / 0.5511 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.1352, allocations: 107.8 kB / 0.5512 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1352, allocations: 4 kB / 0.5513 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.1354, allocations: 31.92 kB / 0.5513 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.1354, allocations: 12.08 kB / 0.5513 GB, free: 7.629 MB / 414.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.0001641/0.1356, allocations: 153.7 kB / 0.5514 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1357, allocations: 39.73 kB / 0.5515 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.1358, allocations: 33.72 kB / 0.5515 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1358, allocations: 4 kB / 0.5515 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1358, allocations: 0 / 0.5515 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.1358, allocations: 8.172 kB / 0.5515 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.1373, allocations: 0.9816 MB / 0.5525 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.1374, allocations: 4 kB / 0.5525 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.1377, allocations: 75.88 kB / 0.5526 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1377, allocations: 4 kB / 0.5526 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.1378, allocations: 12 kB / 0.5526 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1378, allocations: 7.984 kB / 0.5526 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1378, allocations: 4 kB / 0.5526 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1389, allocations: 0.7292 MB / 0.5533 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.139, allocations: 100.9 kB / 0.5534 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.139, allocations: 16.22 kB / 0.5534 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.1393, allocations: 15.98 kB / 0.5534 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.1394, allocations: 27.97 kB / 0.5534 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.1394, allocations: 16.23 kB / 0.5535 GB, free: 5.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.1396, allocations: 160.5 kB / 0.5536 GB, free: 5.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1396, allocations: 0 / 0.5536 GB, free: 5.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.1401, allocations: 68 kB / 0.5537 GB, free: 5.059 MB / 414.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.0001704/0.1403, allocations: 107.1 kB / 0.5538 GB, free: 4.945 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007398/0.141, allocations: 291.5 kB / 0.5541 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.141, allocations: 0 / 0.5541 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.1413, allocations: 137.3 kB / 0.5542 GB, free: 4.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006917/0.1421, allocations: 44.61 kB / 0.5542 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.1436, allocations: 0.8708 MB / 0.5551 GB, free: 3.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.1441, allocations: 0.7758 MB / 0.5558 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1443, allocations: 34.95 kB / 0.5559 GB, free: 2.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.1444, allocations: 23.44 kB / 0.5559 GB, free: 2.707 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1444, allocations: 0 / 0.5559 GB, free: 2.707 MB / 414.1 MB Notification: Performance of Templates: time 0.00668/0.151, allocations: 2.464 MB / 0.5583 GB, free: 264 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 5.068900984711945]