Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 79.88 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3886, allocations: 66.02 MB / 0.5616 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003858/0.3925, allocations: 1.992 MB / 0.5635 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.3947, allocations: 1.22 MB / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3948, allocations: 0 / 0.5647 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007837/0.3956, allocations: 203.3 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.3961, allocations: 215.2 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.3966, allocations: 158.6 kB / 0.5653 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.3969, allocations: 275.2 kB / 0.5655 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.397, allocations: 12.59 kB / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3972, allocations: 119.5 kB / 0.5657 GB, free: 408 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3974, allocations: 123.5 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.3974, allocations: 12 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.3976, allocations: 63.95 kB / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.574e-05/0.3977, allocations: 59.7 kB / 0.5659 GB, free: 148 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3978, allocations: 83.42 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.3982, allocations: 245.5 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3982, allocations: 0 / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3982, allocations: 0 / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.3982, allocations: 0 / 0.5662 GB, free: 15.83 MB / 414.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.0009169/0.3991, allocations: 0.4983 MB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3991, allocations: 16.03 kB / 0.5667 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.3992, allocations: 20.8 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.3996, allocations: 226.6 kB / 0.567 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.3996, allocations: 8.375 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.3996, allocations: 4.375 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3999, allocations: 112.5 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3999, allocations: 0 / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3999, allocations: 7.938 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3999, allocations: 3.938 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.4, allocations: 35.98 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.4006, allocations: 360.5 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.4009, allocations: 113.3 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.401, allocations: 41.64 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.401, allocations: 4 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.4013, allocations: 117.1 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.4013, allocations: 0 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00048/0.4018, allocations: 181.4 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/0.4019, allocations: 106.8 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.4023, allocations: 352.5 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.4023, allocations: 29.7 kB / 0.5684 GB, free: 13.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4024, allocations: 144.1 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.4025, allocations: 39.73 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.4025, allocations: 25.72 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4027, allocations: 342.7 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.4028, allocations: 31.98 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.4029, allocations: 73.08 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.4031, allocations: 103.4 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4031, allocations: 0 / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002876/0.4034, allocations: 141.5 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4034, allocations: 4 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4034, allocations: 12.05 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4035, allocations: 3.984 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4036, allocations: 28.56 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4036, allocations: 0 / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.574e-05/0.4037, allocations: 15.88 kB / 0.5693 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.4037, allocations: 4 kB / 0.5693 GB, free: 12.41 MB / 414.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.0001623/0.4038, allocations: 163.1 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.4039, allocations: 31.75 kB / 0.5695 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.4043, allocations: 163.4 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4043, allocations: 0 / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4043, allocations: 4 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4043, allocations: 0 / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.4045, allocations: 236.6 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4045, allocations: 0 / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.4046, allocations: 8 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4046, allocations: 7.922 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4046, allocations: 0 / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.4046, allocations: 4 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4046, allocations: 4 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.4049, allocations: 181.6 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.405, allocations: 31.78 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.405, allocations: 4 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.4051, allocations: 4 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.4051, allocations: 15.97 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.4051, allocations: 11.94 kB / 0.5701 GB, free: 11.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000286/0.4054, allocations: 263 kB / 0.5704 GB, free: 11.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4054, allocations: 0 / 0.5704 GB, free: 11.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.4057, allocations: 32 kB / 0.5704 GB, free: 11.19 MB / 414.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.00158/0.4073, allocations: 424.4 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.4076, allocations: 79.91 kB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4076, allocations: 4.125 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.4077, allocations: 47.91 kB / 0.5709 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.4081, allocations: 64.39 kB / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007836/0.4089, allocations: 396.4 kB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.4093, allocations: 0.7519 MB / 0.5721 GB, free: 9.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.664e-05/0.4094, allocations: 41.84 kB / 0.5722 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.4094, allocations: 23.44 kB / 0.5722 GB, free: 9.457 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4094, allocations: 0 / 0.5722 GB, free: 9.457 MB / 414.1 MB Notification: Performance of Templates: time 0.007681/0.4171, allocations: 3.097 MB / 0.5752 GB, free: 6.375 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.178592768497765]