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.001578/0.001578, allocations: 88.2 kB / 20.95 MB, free: 3.605 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.001832/0.001832, allocations: 169 kB / 24.24 MB, free: 316 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 1.034/1.034, allocations: 158.6 MB / 186 MB, free: 2.938 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.1347/0.1347, allocations: 32.37 MB / 270.7 MB, free: 14.78 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 2.394e-06/2.394e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.122e-05, allocations: 6.25 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004118/0.004149, allocations: 1.964 MB / 349.7 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.006219, allocations: 0.9517 MB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.006432, allocations: 3.938 kB / 350.7 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.007656, allocations: 207.3 kB / 350.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.008116, allocations: 163.4 kB / 351 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.008696, allocations: 195.4 kB / 351.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.009104, allocations: 255.2 kB / 351.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.00925, allocations: 13.8 kB / 351.5 MB, free: 5.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.009457, allocations: 139.6 kB / 351.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.009643, allocations: 99.73 kB / 351.7 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.009677, allocations: 12 kB / 351.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.009855, allocations: 63.89 kB / 351.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.009952, allocations: 55.72 kB / 351.8 MB, free: 5.578 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.01004, allocations: 47.84 kB / 351.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.0104, allocations: 175.3 kB / 352.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.0104, allocations: 0 / 352.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.01041, allocations: 3.984 kB / 352.1 MB, free: 5.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.01042, allocations: 4 kB / 352.1 MB, free: 5.352 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.0008721/0.01129, allocations: 0.5749 MB / 352.6 MB, free: 4.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.01134, allocations: 8.031 kB / 352.6 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.01144, allocations: 28.75 kB / 352.7 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.01183, allocations: 232.4 kB / 352.9 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.01186, allocations: 4.375 kB / 352.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.01188, allocations: 12.31 kB / 352.9 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.01214, allocations: 85.58 kB / 353 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.01215, allocations: 3.938 kB / 353 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.01216, allocations: 4 kB / 353 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01217, allocations: 4 kB / 353 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.775e-05/0.01225, allocations: 19.97 kB / 353 MB, free: 4.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005727/0.01282, allocations: 359.3 kB / 353.4 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.01304, allocations: 106.1 kB / 353.5 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.259e-05/0.0131, allocations: 31.38 kB / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.01312, allocations: 7.984 kB / 353.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.01333, allocations: 112.4 kB / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 3.808e-06/0.01333, allocations: 3.938 kB / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.000417/0.01375, allocations: 141.5 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.0138, allocations: 81.11 kB / 353.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.0141, allocations: 338.3 kB / 354.2 MB, free: 3.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.01413, allocations: 25.7 kB / 354.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01423, allocations: 190.8 kB / 354.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.01428, allocations: 35.91 kB / 354.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.01436, allocations: 35.36 kB / 354.5 MB, free: 2.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.01446, allocations: 0.5079 MB / 355 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.01451, allocations: 16.5 kB / 355 MB, free: 2.168 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.01459, allocations: 100 kB / 355.1 MB, free: 2.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.0147, allocations: 78.69 kB / 355.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.01471, allocations: 3.938 kB / 355.2 MB, free: 1.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002152/0.01492, allocations: 125.4 kB / 355.3 MB, free: 1.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.01495, allocations: 4 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01496, allocations: 4.094 kB / 355.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.01498, allocations: 4 kB / 355.3 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.01512, allocations: 27.92 kB / 355.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.01513, allocations: 0 / 355.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.01521, allocations: 11.98 kB / 355.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01522, allocations: 4 kB / 355.4 MB, free: 1.762 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 0.0001316/0.01535, allocations: 172.5 kB / 355.5 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/0.0154, allocations: 35.75 kB / 355.6 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.01574, allocations: 139.4 kB / 355.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.01574, allocations: 0 / 355.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.01575, allocations: 8.188 kB / 355.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.01576, allocations: 0 / 355.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.01599, allocations: 200.5 kB / 355.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.016, allocations: 3.938 kB / 355.9 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.01606, allocations: 11.94 kB / 355.9 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.01606, allocations: 4 kB / 355.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.01608, allocations: 0 / 355.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01608, allocations: 0 / 355.9 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01608, allocations: 4.078 kB / 355.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.01634, allocations: 187.9 kB / 356.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.01638, allocations: 35.78 kB / 356.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.01642, allocations: 3.938 kB / 356.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.0165, allocations: 11.92 kB / 356.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.606e-05/0.01657, allocations: 15.98 kB / 356.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.01659, allocations: 4 kB / 356.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001699/0.01676, allocations: 231 kB / 356.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01676, allocations: 0 / 356.4 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.01708, allocations: 35.94 kB / 356.4 MB, free: 0.6055 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.001292/0.01837, allocations: 387.4 kB / 356.8 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.01866, allocations: 71.59 kB / 356.9 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01866, allocations: 0 / 356.9 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.67e-05/0.01875, allocations: 51.59 kB / 356.9 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.01917, allocations: 85.58 kB / 357 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009855/0.02016, allocations: 341.5 kB / 357.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.02027, allocations: 87.97 kB / 357.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.02038, allocations: 34.08 kB / 357.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.02044, allocations: 20.5 kB / 357.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of SimCode: time 1.353e-06/0.02045, allocations: 7.938 kB / 357.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of Templates: time 0.008514/0.02896, allocations: 3.186 MB / 360.7 MB, free: 12.41 MB / 298.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.4617293390911072]