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.001652/0.00166, allocations: 116.9 kB / 19.13 MB, free: 3.922 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.001954/0.001954, allocations: 210.6 kB / 22.08 MB, free: 0.9727 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.483/1.483, allocations: 227.4 MB / 252.3 MB, free: 88 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.2322/0.2322, allocations: 46.15 MB / 351.8 MB, free: 14.3 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.002305/0.002305, allocations: 80.97 kB / 490.8 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1254, allocations: 62.45 MB / 0.5403 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004365/0.1298, allocations: 2.628 MB / 0.5429 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1315, allocations: 0.7283 MB / 0.5436 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.1317, allocations: 7.938 kB / 0.5436 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.1319, allocations: 47.52 kB / 0.5436 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1322, allocations: 87.2 kB / 0.5437 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.1326, allocations: 99.81 kB / 0.5438 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.133, allocations: 334.5 kB / 0.5441 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.1332, allocations: 85.88 kB / 0.5442 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.1335, allocations: 131.5 kB / 0.5444 GB, free: 92 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.1337, allocations: 139.3 kB / 0.5445 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.1338, allocations: 20 kB / 0.5445 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.24e-05/0.1339, allocations: 28 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.1339, allocations: 59.77 kB / 0.5446 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1341, allocations: 143.2 kB / 0.5447 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.1345, allocations: 306.7 kB / 0.545 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1345, allocations: 0 / 0.545 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1345, allocations: 0 / 0.545 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1345, allocations: 4 kB / 0.545 GB, free: 15.4 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.001019/0.1356, allocations: 0.5998 MB / 0.5456 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1356, allocations: 12.03 kB / 0.5456 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.1359, allocations: 48.72 kB / 0.5457 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.1363, allocations: 284.9 kB / 0.5459 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1363, allocations: 16.94 kB / 0.546 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.1364, allocations: 32.33 kB / 0.546 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.1369, allocations: 282.2 kB / 0.5463 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.137, allocations: 7.953 kB / 0.5463 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.137, allocations: 8 kB / 0.5463 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.137, allocations: 8 kB / 0.5463 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.1374, allocations: 183.7 kB / 0.5465 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.1393, allocations: 1.314 MB / 0.5477 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.1397, allocations: 242.5 kB / 0.548 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.14, allocations: 103.4 kB / 0.5481 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.14, allocations: 4 kB / 0.5481 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.1401, allocations: 46.44 kB / 0.5481 GB, free: 11.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.1401, allocations: 0 / 0.5481 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.00279/0.1429, allocations: 1.577 MB / 0.5497 GB, free: 10.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.143, allocations: 136.5 kB / 0.5498 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.1432, allocations: 232.9 kB / 0.55 GB, free: 9.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.1433, allocations: 29.7 kB / 0.55 GB, free: 9.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1434, allocations: 184.5 kB / 0.5502 GB, free: 9.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.473e-05/0.1435, allocations: 119 kB / 0.5503 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1436, allocations: 62.14 kB / 0.5504 GB, free: 9.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.1438, allocations: 342.8 kB / 0.5507 GB, free: 9.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.1441, allocations: 96.81 kB / 0.5508 GB, free: 8.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.1445, allocations: 252.1 kB / 0.551 GB, free: 8.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.1451, allocations: 370.7 kB / 0.5514 GB, free: 8.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1452, allocations: 0 / 0.5514 GB, free: 8.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008191/0.146, allocations: 396.8 kB / 0.5518 GB, free: 7.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.146, allocations: 10.12 kB / 0.5518 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.146, allocations: 7.938 kB / 0.5518 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1461, allocations: 4 kB / 0.5518 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.1465, allocations: 108.2 kB / 0.5519 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.1465, allocations: 19.98 kB / 0.5519 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.1467, allocations: 27.92 kB / 0.5519 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.1467, allocations: 16 kB / 0.552 GB, free: 7.633 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.0001764/0.1469, allocations: 145.8 kB / 0.5521 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.147, allocations: 35.75 kB / 0.5521 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/0.1471, allocations: 33.7 kB / 0.5522 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1471, allocations: 4 kB / 0.5522 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1471, allocations: 4 kB / 0.5522 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1471, allocations: 3.984 kB / 0.5522 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.1487, allocations: 0.9856 MB / 0.5531 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1488, allocations: 448 / 0.5531 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.1491, allocations: 79.88 kB / 0.5532 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1492, allocations: 0 / 0.5532 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.1492, allocations: 15.94 kB / 0.5532 GB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1492, allocations: 4 kB / 0.5532 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1492, allocations: 0 / 0.5532 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1503, allocations: 0.737 MB / 0.554 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.1504, allocations: 100.9 kB / 0.554 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.1505, allocations: 12 kB / 0.5541 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.1508, allocations: 19.97 kB / 0.5541 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.1509, allocations: 27.91 kB / 0.5541 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1509, allocations: 16 kB / 0.5541 GB, free: 5.297 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.1511, allocations: 156.5 kB / 0.5543 GB, free: 5.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1511, allocations: 192 / 0.5543 GB, free: 5.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.1516, allocations: 68 kB / 0.5543 GB, free: 5.074 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.0001511/0.1518, allocations: 115 kB / 0.5544 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007225/0.1525, allocations: 280.2 kB / 0.5547 GB, free: 4.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1525, allocations: 4 kB / 0.5547 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.1528, allocations: 128.6 kB / 0.5548 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.1535, allocations: 52.64 kB / 0.5549 GB, free: 4.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1551, allocations: 0.8996 MB / 0.5558 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.1556, allocations: 0.7758 MB / 0.5565 GB, free: 2.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.985e-05/0.1557, allocations: 27.44 kB / 0.5566 GB, free: 2.723 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1557, allocations: 0 / 0.5566 GB, free: 2.723 MB / 414.1 MB Notification: Performance of Templates: time 0.006016/0.1618, allocations: 3.385 MB / 0.5599 GB, free: 15.34 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.728640339919366]