Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 106.2 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 195.9 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 44.91 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 75.89 kB / 495.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.473, allocations: 64.24 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003969/0.477, allocations: 1.977 MB / 0.5484 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.479, allocations: 1.066 MB / 0.5494 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.4792, allocations: 6.5 kB / 0.5494 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.4799, allocations: 201.7 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.4803, allocations: 155.4 kB / 0.5498 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.4809, allocations: 231.4 kB / 0.55 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.4812, allocations: 255.7 kB / 0.5502 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4813, allocations: 13.16 kB / 0.5502 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.4815, allocations: 107 kB / 0.5503 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.4817, allocations: 113.6 kB / 0.5505 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.4817, allocations: 8.688 kB / 0.5505 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.4818, allocations: 58.77 kB / 0.5505 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.048e-05/0.4819, allocations: 57.8 kB / 0.5506 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.482, allocations: 86.56 kB / 0.5507 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.4824, allocations: 233.8 kB / 0.5509 GB, free: 9.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.4824, allocations: 1.219 kB / 0.5509 GB, free: 9.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4824, allocations: 0 / 0.5509 GB, free: 9.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.627e-06/0.4824, allocations: 0 / 0.5509 GB, free: 9.887 MB / 398.1 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.0009553/0.4834, allocations: 0.5507 MB / 0.5514 GB, free: 9.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4834, allocations: 9.25 kB / 0.5514 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.077e-05/0.4835, allocations: 27.45 kB / 0.5514 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004422/0.4839, allocations: 282.2 kB / 0.5517 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.484, allocations: 7.906 kB / 0.5517 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.484, allocations: 7.5 kB / 0.5517 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.4842, allocations: 110.3 kB / 0.5518 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4843, allocations: 5.078 kB / 0.5518 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4843, allocations: 0 / 0.5518 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4843, allocations: 6.281 kB / 0.5518 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.4844, allocations: 36.02 kB / 0.5519 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005747/0.485, allocations: 382.3 kB / 0.5522 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.4853, allocations: 112 kB / 0.5524 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.4854, allocations: 42.33 kB / 0.5524 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.4854, allocations: 1.219 kB / 0.5524 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.4857, allocations: 114.7 kB / 0.5525 GB, free: 8.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.4857, allocations: 0 / 0.5525 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005033/0.4862, allocations: 177.6 kB / 0.5527 GB, free: 8.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.4863, allocations: 108.1 kB / 0.5528 GB, free: 8.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.4867, allocations: 333.4 kB / 0.5531 GB, free: 7.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.4867, allocations: 34.69 kB / 0.5531 GB, free: 7.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4868, allocations: 139.9 kB / 0.5533 GB, free: 7.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.4869, allocations: 32.17 kB / 0.5533 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.4869, allocations: 28.25 kB / 0.5533 GB, free: 7.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4871, allocations: 342.3 kB / 0.5536 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.963e-05/0.4872, allocations: 37.28 kB / 0.5537 GB, free: 7.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4873, allocations: 73.67 kB / 0.5538 GB, free: 7.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.4875, allocations: 104.5 kB / 0.5539 GB, free: 7.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4875, allocations: 1 kB / 0.5539 GB, free: 7.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003273/0.4879, allocations: 144.8 kB / 0.554 GB, free: 7.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4879, allocations: 5.656 kB / 0.554 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4879, allocations: 5.188 kB / 0.554 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4879, allocations: 5.25 kB / 0.554 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.488, allocations: 26.42 kB / 0.554 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.488, allocations: 1.219 kB / 0.554 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.724e-05/0.4881, allocations: 14.36 kB / 0.554 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4881, allocations: 6.906 kB / 0.5541 GB, free: 7.059 MB / 398.1 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.00015/0.4883, allocations: 151.7 kB / 0.5542 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.4883, allocations: 30.5 kB / 0.5542 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.4887, allocations: 163.1 kB / 0.5544 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4887, allocations: 3 kB / 0.5544 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4887, allocations: 0 / 0.5544 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4887, allocations: 1.281 kB / 0.5544 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.489, allocations: 250.2 kB / 0.5546 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.489, allocations: 0 / 0.5546 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.489, allocations: 14.89 kB / 0.5546 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.489, allocations: 1.406 kB / 0.5546 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4891, allocations: 6.281 kB / 0.5546 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.4891, allocations: 5.094 kB / 0.5547 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4891, allocations: 0 / 0.5547 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.4894, allocations: 187.5 kB / 0.5548 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.4895, allocations: 95.16 kB / 0.5549 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.4895, allocations: 6.75 kB / 0.5549 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.4896, allocations: 6.766 kB / 0.5549 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.4896, allocations: 17.48 kB / 0.555 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.4897, allocations: 11.84 kB / 0.555 GB, free: 6.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00029/0.49, allocations: 243.5 kB / 0.5552 GB, free: 6.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.49, allocations: 0 / 0.5552 GB, free: 6.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.4902, allocations: 40.39 kB / 0.5552 GB, free: 6.105 MB / 398.1 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 (11): * Single equations (assignments): 7 * 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.001539/0.4918, allocations: 417.7 kB / 0.5556 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.4921, allocations: 94.11 kB / 0.5557 GB, free: 5.863 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.4921, allocations: 4.125 kB / 0.5557 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.4922, allocations: 43.72 kB / 0.5558 GB, free: 5.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.4927, allocations: 54.31 kB / 0.5558 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.4935, allocations: 390.9 kB / 0.5562 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.4939, allocations: 0.7513 MB / 0.5569 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.494, allocations: 41.89 kB / 0.557 GB, free: 4.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.4941, allocations: 23.44 kB / 0.557 GB, free: 4.723 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4941, allocations: 3.938 kB / 0.557 GB, free: 4.719 MB / 398.1 MB Notification: Performance of Templates: time 0.00744/0.5015, allocations: 3.009 MB / 0.5599 GB, free: 1.73 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.5587913654744625]