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.001074/0.001074, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002436, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006891/0.0006891, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000838/0.001527, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9172/0.9172, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1825/1.1, allocations: 49.5 MB / 220.5 MB, free: 5.27 MB / 218.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.1539/0.1539, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02898/0.1828, allocations: 12.3 MB / 265.9 MB, free: 7.824 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 1.603e-06/1.603e-06, allocations: 3.938 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.745e-05, allocations: 6.25 kB / 267.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002745/0.002773, allocations: 1.989 MB / 269.3 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.008303, allocations: 0.9787 MB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.008413, allocations: 3.938 kB / 270.3 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.008952, allocations: 203.3 kB / 270.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.009278, allocations: 167.3 kB / 270.6 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.009751, allocations: 195.5 kB / 270.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.01008, allocations: 247.2 kB / 271.1 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.01018, allocations: 14.47 kB / 271.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003332/0.01351, allocations: 197.3 kB / 271.3 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.01368, allocations: 91.77 kB / 271.4 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.0137, allocations: 12 kB / 271.4 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.01389, allocations: 63.83 kB / 271.4 MB, free: 2.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.01397, allocations: 51.8 kB / 271.5 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.01402, allocations: 35.88 kB / 271.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.01428, allocations: 167.4 kB / 271.7 MB, free: 2.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706e-05/0.01429, allocations: 3.938 kB / 271.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01429, allocations: 0 / 271.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.01432, allocations: 0 / 271.7 MB, free: 2.023 MB / 266.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.0006437/0.01496, allocations: 488.7 kB / 272.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.01499, allocations: 8.031 kB / 272.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.01504, allocations: 16.92 kB / 272.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.01531, allocations: 217.5 kB / 272.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.01533, allocations: 4.375 kB / 272.4 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.01534, allocations: 8.375 kB / 272.4 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.01549, allocations: 86.67 kB / 272.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.0155, allocations: 3.938 kB / 272.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.01551, allocations: 4 kB / 272.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.01552, allocations: 0 / 272.5 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.01557, allocations: 37.55 kB / 272.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.01586, allocations: 201.6 kB / 272.7 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.01601, allocations: 126.7 kB / 272.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.01604, allocations: 25.72 kB / 272.9 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.01605, allocations: 7.984 kB / 272.9 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.0162, allocations: 99.83 kB / 273 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.0162, allocations: 0 / 273 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.003214/0.01942, allocations: 99.44 kB / 273.1 MB, free: 480 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.01946, allocations: 85.09 kB / 273.2 MB, free: 376 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.01967, allocations: 264.7 kB / 273.4 MB, free: 96 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.01969, allocations: 29.7 kB / 273.5 MB, free: 60 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.01976, allocations: 112.7 kB / 273.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.01979, allocations: 39.66 kB / 273.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.01984, allocations: 33.69 kB / 273.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.01994, allocations: 334.8 kB / 274 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.01997, allocations: 10.83 kB / 274 MB, free: 15.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.02003, allocations: 77.97 kB / 274.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.069e-05/0.02011, allocations: 63.83 kB / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02011, allocations: 0 / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001388/0.02025, allocations: 103.2 kB / 274.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.02027, allocations: 7.938 kB / 274.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.02027, allocations: 0 / 274.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.02029, allocations: 4 kB / 274.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.02039, allocations: 31.92 kB / 274.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.02039, allocations: 0 / 274.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.02045, allocations: 19.88 kB / 274.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.02046, allocations: 448 / 274.3 MB, free: 15.17 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 9.525e-05/0.02056, allocations: 124.7 kB / 274.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.02059, allocations: 31.91 kB / 274.4 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.02075, allocations: 95.39 kB / 274.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.02075, allocations: 0 / 274.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.02075, allocations: 0 / 274.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.02076, allocations: 7.984 kB / 274.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.02089, allocations: 113.8 kB / 274.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.02089, allocations: 0 / 274.6 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.02093, allocations: 15.94 kB / 274.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.02096, allocations: 19.8 kB / 274.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.02097, allocations: 7.938 kB / 274.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.02098, allocations: 11.98 kB / 274.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.02098, allocations: 0 / 274.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.02098, allocations: 4 kB / 274.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.02112, allocations: 122.4 kB / 274.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.02115, allocations: 7.938 kB / 274.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.358e-05/0.0212, allocations: 7.984 kB / 274.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.02123, allocations: 15.92 kB / 274.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.02125, allocations: 7.984 kB / 274.9 MB, free: 14.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.02136, allocations: 99.48 kB / 275 MB, free: 14.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02136, allocations: 0 / 275 MB, free: 14.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000218/0.02157, allocations: 47.88 kB / 275 MB, free: 14.38 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.004526/0.0261, allocations: 0.5509 MB / 275.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.02624, allocations: 64.75 kB / 275.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.02626, allocations: 8 kB / 275.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.02631, allocations: 33.03 kB / 275.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.02655, allocations: 101.1 kB / 275.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006738/0.02723, allocations: 341.5 kB / 276.1 MB, free: 13.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.735e-05/0.02729, allocations: 87.97 kB / 276.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.823e-05/0.02737, allocations: 29.92 kB / 276.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.02749, allocations: 91.34 kB / 276.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02749, allocations: 0 / 276.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of Templates: time 0.01194/0.03943, allocations: 3.515 MB / 279.8 MB, free: 9.496 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 -ignoreHideResult -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: 2.8832059549167752]