Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.001059/0.001059, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001238/0.001238, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 18.57 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 0.9217/0.9217, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] 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.1486/0.1486, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.22e-07/9.22e-07, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.046e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002812/0.002833, allocations: 1.951 MB / 301.1 MB, free: 168 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1432/0.146, allocations: 0.9582 MB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.1463, allocations: 2.75 kB / 302.1 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.147, allocations: 207.1 kB / 302.3 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.1475, allocations: 161 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.148, allocations: 192.9 kB / 302.6 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004347/0.1485, allocations: 257.1 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1486, allocations: 12 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/0.1489, allocations: 142.6 kB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1491, allocations: 95.09 kB / 303.1 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.1491, allocations: 10.47 kB / 303.1 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.1493, allocations: 61.28 kB / 303.2 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1494, allocations: 53.89 kB / 303.2 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.485e-05/0.1495, allocations: 48.41 kB / 303.3 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.1499, allocations: 182 kB / 303.4 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1499, allocations: 0.6094 kB / 303.4 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1499, allocations: 1.656 kB / 303.4 MB, free: 19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1499, allocations: 0 / 303.4 MB, free: 19 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005963/0.1505, allocations: 454.5 kB / 303.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1505, allocations: 9.438 kB / 303.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.1506, allocations: 20.25 kB / 303.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.1509, allocations: 209.9 kB / 304.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1509, allocations: 7.031 kB / 304.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1509, allocations: 4.75 kB / 304.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1511, allocations: 90.67 kB / 304.2 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1511, allocations: 3.938 kB / 304.2 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1511, allocations: 2.328 kB / 304.2 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1511, allocations: 1.094 kB / 304.2 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.1511, allocations: 25.53 kB / 304.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.1514, allocations: 207.4 kB / 304.5 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1515, allocations: 126.2 kB / 304.6 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.1516, allocations: 26.45 kB / 304.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.1516, allocations: 2.281 kB / 304.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/0.1517, allocations: 108.4 kB / 304.7 MB, free: 18.03 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.1517, allocations: 0 / 304.7 MB, free: 18.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001537/0.1518, allocations: 99.41 kB / 304.8 MB, free: 17.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.1519, allocations: 80.62 kB / 304.9 MB, free: 17.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1521, allocations: 266.5 kB / 305.2 MB, free: 17.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1521, allocations: 29.09 kB / 305.2 MB, free: 17.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.1521, allocations: 109.9 kB / 305.3 MB, free: 17.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.1521, allocations: 34.28 kB / 305.3 MB, free: 17.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.1522, allocations: 32.52 kB / 305.4 MB, free: 17.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.1522, allocations: 342.8 kB / 305.7 MB, free: 17.31 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.1523, allocations: 12.8 kB / 305.7 MB, free: 17.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.1523, allocations: 71.98 kB / 305.8 MB, free: 17.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.199e-05/0.1524, allocations: 74.06 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1524, allocations: 0 / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001286/0.1525, allocations: 100.4 kB / 305.9 MB, free: 17.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1525, allocations: 9.781 kB / 306 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1526, allocations: 5.609 kB / 306 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1526, allocations: 4.438 kB / 306 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.1526, allocations: 18.86 kB / 306 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1526, allocations: 6.875 kB / 306 MB, free: 17.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.1527, allocations: 14.55 kB / 306 MB, free: 17.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1527, allocations: 2.953 kB / 306 MB, free: 17.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.836e-05/0.1528, allocations: 128.5 kB / 306.1 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.1528, allocations: 20.27 kB / 306.2 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.1529, allocations: 111.4 kB / 306.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1529, allocations: 1.062 kB / 306.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1529, allocations: 1.562 kB / 306.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1529, allocations: 1.75 kB / 306.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1531, allocations: 115 kB / 306.4 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1531, allocations: 1.562 kB / 306.4 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.1531, allocations: 9.422 kB / 306.4 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1531, allocations: 1.312 kB / 306.4 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1531, allocations: 10.55 kB / 306.4 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1531, allocations: 1.25 kB / 306.4 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1531, allocations: 1.891 kB / 306.4 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.1532, allocations: 127.5 kB / 306.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.1533, allocations: 21.47 kB / 306.5 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.1533, allocations: 10.23 kB / 306.6 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.1533, allocations: 5.969 kB / 306.6 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1534, allocations: 13.05 kB / 306.6 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1534, allocations: 5.625 kB / 306.6 MB, free: 16.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1535, allocations: 109.2 kB / 306.7 MB, free: 16.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1535, allocations: 0 / 306.7 MB, free: 16.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.1537, allocations: 38.02 kB / 306.7 MB, free: 16.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00107/0.1547, allocations: 0.516 MB / 307.2 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1549, allocations: 60 kB / 307.3 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.1549, allocations: 7 kB / 307.3 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.647e-05/0.1549, allocations: 29.47 kB / 307.3 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1551, allocations: 81.44 kB / 307.4 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.1555, allocations: 347.6 kB / 307.8 MB, free: 16.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.049e-05/0.1556, allocations: 91.73 kB / 307.8 MB, free: 16.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.1557, allocations: 27.19 kB / 307.9 MB, free: 16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.1558, allocations: 84.34 kB / 308 MB, free: 15.96 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1558, allocations: 0.7188 kB / 308 MB, free: 15.96 MB / 282.7 MB Notification: Performance of Templates: time 0.005963/0.1617, allocations: 3.47 MB / 311.4 MB, free: 15.15 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2047974937595427]