Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.001271/0.001271, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.001564/0.001564, allocations: 166.5 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 158.6 MB / 185.5 MB, free: 6.207 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3195/0.3195, allocations: 32.38 MB / 270.1 MB, free: 2.695 MB / 254.1 MB " [Timeout remaining time 179] 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.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.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 63.91 kB / 407.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1306, allocations: 61.05 MB / 468.9 MB, free: 8.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00357/0.1342, allocations: 1.641 MB / 470.5 MB, free: 6.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1357, allocations: 0.7571 MB / 471.3 MB, free: 5.812 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.1358, allocations: 0 / 471.3 MB, free: 5.812 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.1362, allocations: 67.78 kB / 471.3 MB, free: 5.746 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1365, allocations: 67.69 kB / 471.4 MB, free: 5.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.1367, allocations: 83.69 kB / 471.5 MB, free: 5.598 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.137, allocations: 95.69 kB / 471.6 MB, free: 5.504 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.137, allocations: 8 kB / 471.6 MB, free: 5.496 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1371, allocations: 51.77 kB / 471.6 MB, free: 5.445 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1372, allocations: 43.83 kB / 471.7 MB, free: 5.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1373, allocations: 4 kB / 471.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1374, allocations: 35.98 kB / 471.7 MB, free: 5.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.1374, allocations: 23.86 kB / 471.7 MB, free: 5.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.1375, allocations: 23.75 kB / 471.8 MB, free: 5.316 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1377, allocations: 99.62 kB / 471.8 MB, free: 5.219 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1377, allocations: 0 / 471.8 MB, free: 5.219 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1377, allocations: 0 / 471.8 MB, free: 5.219 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1378, allocations: 4 kB / 471.9 MB, free: 5.215 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006587/0.1384, allocations: 333.6 kB / 472.2 MB, free: 4.859 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1385, allocations: 8.031 kB / 472.2 MB, free: 4.852 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.1385, allocations: 12.88 kB / 472.2 MB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.1389, allocations: 154.2 kB / 472.3 MB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1389, allocations: 4.375 kB / 472.4 MB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1389, allocations: 4.125 kB / 472.4 MB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1391, allocations: 53.67 kB / 472.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1391, allocations: 0 / 472.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1391, allocations: 0 / 472.4 MB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1391, allocations: 4 kB / 472.4 MB, free: 4.594 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.1392, allocations: 19.98 kB / 472.4 MB, free: 4.574 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.1394, allocations: 121.3 kB / 472.6 MB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.1396, allocations: 58.55 kB / 472.6 MB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.1397, allocations: 20.84 kB / 472.6 MB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1397, allocations: 0 / 472.6 MB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.1399, allocations: 67.33 kB / 472.7 MB, free: 4.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.1399, allocations: 0 / 472.7 MB, free: 4.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003202/0.1402, allocations: 109.5 kB / 472.8 MB, free: 4.145 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1402, allocations: 51.41 kB / 472.9 MB, free: 4.082 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.1404, allocations: 186.3 kB / 473 MB, free: 3.891 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1405, allocations: 29.7 kB / 473.1 MB, free: 3.855 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.1405, allocations: 100.1 kB / 473.2 MB, free: 3.754 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.1406, allocations: 15.84 kB / 473.2 MB, free: 3.738 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.1406, allocations: 25.7 kB / 473.2 MB, free: 3.707 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1408, allocations: 322.8 kB / 473.5 MB, free: 3.383 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.1409, allocations: 12 kB / 473.5 MB, free: 3.371 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.1409, allocations: 33.62 kB / 473.6 MB, free: 3.332 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.141, allocations: 53.64 kB / 473.6 MB, free: 3.273 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.141, allocations: 0 / 473.6 MB, free: 3.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001892/0.1412, allocations: 85.58 kB / 473.7 MB, free: 3.184 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1413, allocations: 4 kB / 473.7 MB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1413, allocations: 0 / 473.7 MB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1413, allocations: 4 kB / 473.7 MB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.1414, allocations: 15.92 kB / 473.7 MB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1414, allocations: 0 / 473.7 MB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.1414, allocations: 8.344 kB / 473.7 MB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1414, allocations: 0 / 473.7 MB, free: 3.152 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001262/0.1416, allocations: 125.8 kB / 473.9 MB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.1416, allocations: 19.84 kB / 473.9 MB, free: 3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1419, allocations: 98.12 kB / 474 MB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.1419, allocations: 4 kB / 474 MB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1419, allocations: 0 / 474 MB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1419, allocations: 0 / 474 MB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1421, allocations: 133.3 kB / 474.1 MB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1421, allocations: 3.938 kB / 474.1 MB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.1421, allocations: 8 kB / 474.1 MB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1421, allocations: 3.938 kB / 474.1 MB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1421, allocations: 0 / 474.1 MB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.1421, allocations: 4 kB / 474.1 MB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1421, allocations: 0 / 474.1 MB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1424, allocations: 113 kB / 474.2 MB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.1424, allocations: 19.83 kB / 474.3 MB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.1424, allocations: 0 / 474.3 MB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.1425, allocations: 8 kB / 474.3 MB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1425, allocations: 3.984 kB / 474.3 MB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.1425, allocations: 4 kB / 474.3 MB, free: 2.551 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.1427, allocations: 148.1 kB / 474.4 MB, free: 2.406 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1427, allocations: 0 / 474.4 MB, free: 2.406 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.143, allocations: 23.92 kB / 474.4 MB, free: 2.383 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001809/0.1448, allocations: 435.2 kB / 474.9 MB, free: 1.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.145, allocations: 39.98 kB / 474.9 MB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.145, allocations: 0 / 474.9 MB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.399e-05/0.1451, allocations: 23.92 kB / 474.9 MB, free: 1.902 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1454, allocations: 28.05 kB / 474.9 MB, free: 1.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.1459, allocations: 213.7 kB / 475.2 MB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.819e-05/0.1459, allocations: 83.31 kB / 475.2 MB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.306e-05/0.146, allocations: 8.5 kB / 475.2 MB, free: 1.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.146, allocations: 12.5 kB / 475.3 MB, free: 1.516 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.146, allocations: 0 / 475.3 MB, free: 1.516 MB / 446.1 MB Notification: Performance of Templates: time 0.2499/0.3959, allocations: 1.582 MB / 476.8 MB, free: 50.21 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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.350590858026408]