Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001293/0.001293, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001429/0.001429, allocations: 161.3 kB / 24.99 MB, free: 9.273 MB / 18.57 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2746/0.2746, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 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.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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.469e-05, allocations: 2.312 kB / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.00394/0.003974, allocations: 1.997 MB / 380.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.005556, allocations: 1.165 MB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.005681, allocations: 0 / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006594/0.006341, allocations: 211.2 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.006793, allocations: 203.1 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.007159, allocations: 167.4 kB / 381.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.007478, allocations: 283.1 kB / 382.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.007586, allocations: 16.58 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.007757, allocations: 143.6 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.007888, allocations: 107.7 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.007909, allocations: 12 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.008038, allocations: 59.84 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.008111, allocations: 59.77 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.008174, allocations: 47.84 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.008444, allocations: 187.2 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.008448, allocations: 0 / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.008449, allocations: 4 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.008455, allocations: 0 / 382.7 MB, free: 14.24 MB / 362.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.0006446/0.0091, allocations: 0.5904 MB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.009137, allocations: 8.031 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.009206, allocations: 28.75 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.009517, allocations: 241.4 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.009538, allocations: 4.375 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.009551, allocations: 4.375 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.009724, allocations: 89.58 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.009733, allocations: 7.938 kB / 383.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.009744, allocations: 3.938 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.009752, allocations: 0 / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.009808, allocations: 27.97 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.01024, allocations: 363.4 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.0104, allocations: 102.2 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.01044, allocations: 35.36 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.01046, allocations: 8 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.01062, allocations: 120.3 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.01062, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002992/0.01092, allocations: 153.4 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.01096, allocations: 77.11 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.01122, allocations: 350.3 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.01124, allocations: 25.7 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01137, allocations: 190.8 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.0114, allocations: 35.78 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.01145, allocations: 39.36 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01159, allocations: 0.5079 MB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/0.01164, allocations: 19.98 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.049e-05/0.01172, allocations: 88.12 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.044e-05/0.01181, allocations: 78.67 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01181, allocations: 3.938 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001632/0.01198, allocations: 129.4 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.01199, allocations: 9.969 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.012, allocations: 4 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.01201, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.529e-05/0.01211, allocations: 24.62 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.01211, allocations: 3.984 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.01217, allocations: 15.83 kB / 386.1 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.01217, allocations: 4 kB / 386.1 MB, free: 10.59 MB / 362.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 0.0001049/0.01228, allocations: 176.5 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.01231, allocations: 31.84 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.01252, allocations: 139.5 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.01252, allocations: 8 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01252, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01253, allocations: 0 / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.01268, allocations: 204.5 kB / 386.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01268, allocations: 3.938 kB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.01272, allocations: 15.97 kB / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01272, allocations: 0 / 386.6 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01273, allocations: 4 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01274, allocations: 0 / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01274, allocations: 0 / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.01292, allocations: 191.9 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.01295, allocations: 39.61 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01297, allocations: 8 kB / 386.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.059e-05/0.01301, allocations: 4 kB / 386.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.01306, allocations: 15.97 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01308, allocations: 4 kB / 386.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.01324, allocations: 235 kB / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01324, allocations: 0 / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.01346, allocations: 43.98 kB / 387.2 MB, free: 9.414 MB / 362.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.0009809/0.01444, allocations: 396.6 kB / 387.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.01461, allocations: 75.7 kB / 387.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01461, allocations: 0 / 387.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.043e-05/0.01467, allocations: 47.73 kB / 387.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01495, allocations: 77.27 kB / 387.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005506/0.0155, allocations: 366.5 kB / 388.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.419e-05/0.01556, allocations: 87.95 kB / 388.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.799e-05/0.01563, allocations: 30.08 kB / 388.2 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.01568, allocations: 32.48 kB / 388.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01568, allocations: 0 / 388.3 MB, free: 8.414 MB / 362.7 MB Notification: Performance of Templates: time 0.006025/0.02171, allocations: 3.224 MB / 391.5 MB, free: 5.223 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.372050588019192]