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.002399/0.002399, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 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.00277/0.00277, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 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.63/1.63, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 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.3639/0.3639, allocations: 34.26 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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 1.683e-06/1.683e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.291e-05, allocations: 2.312 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004073/0.004106, allocations: 1.959 MB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00257/0.006676, allocations: 1.169 MB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.006782, allocations: 0 / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.007597, allocations: 199.3 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005351/0.008132, allocations: 215 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.008617, allocations: 163.4 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.009013, allocations: 279.1 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.009129, allocations: 16.59 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.009399, allocations: 147.6 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.009595, allocations: 103.8 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.009631, allocations: 8 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.009803, allocations: 59.95 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.009913, allocations: 59.77 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.124e-05/0.01, allocations: 43.8 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004428/0.01045, allocations: 251.1 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.01046, allocations: 3.984 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01046, allocations: 0 / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.01046, allocations: 0 / 381.9 MB, free: 14.15 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.001173/0.01164, allocations: 0.6019 MB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.0117, allocations: 8.031 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.01183, allocations: 36.73 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.01239, allocations: 224.7 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.01243, allocations: 12.31 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.01246, allocations: 8.359 kB / 382.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.01278, allocations: 97.53 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.01281, allocations: 8.172 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.01283, allocations: 384 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.01284, allocations: 3.938 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.01299, allocations: 35.98 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.01408, allocations: 391.4 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.0145, allocations: 130.2 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.01462, allocations: 43.36 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.01466, allocations: 7.938 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.01499, allocations: 128.3 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.01499, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005641/0.01555, allocations: 173.4 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.01564, allocations: 89.11 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.01615, allocations: 394.3 kB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.01618, allocations: 33.7 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.01637, allocations: 202.8 kB / 384.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.269e-05/0.01642, allocations: 31.84 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/0.0165, allocations: 43.36 kB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003217/0.01682, allocations: 0.5274 MB / 385.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.453e-05/0.01691, allocations: 27.98 kB / 385.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.01706, allocations: 110.2 kB / 385.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.01727, allocations: 111.2 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01728, allocations: 0 / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003034/0.01758, allocations: 157.3 kB / 385.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.0176, allocations: 8 kB / 385.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.0176, allocations: 0 / 385.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.01762, allocations: 0 / 385.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.01776, allocations: 27.92 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.01776, allocations: 0 / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.256e-05/0.01784, allocations: 7.953 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.01786, allocations: 12.06 kB / 385.6 MB, free: 10.21 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.0001827/0.01804, allocations: 180.5 kB / 385.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.0181, allocations: 31.8 kB / 385.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.01848, allocations: 163.5 kB / 385.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01848, allocations: 4 kB / 385.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.01849, allocations: 0 / 385.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01849, allocations: 0 / 385.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.0188, allocations: 228.5 kB / 386.2 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.0188, allocations: 4 kB / 386.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.01885, allocations: 8 kB / 386.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.01886, allocations: 7.938 kB / 386.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.01888, allocations: 8.172 kB / 386.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01888, allocations: 7.938 kB / 386.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01889, allocations: 0 / 386.2 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.01928, allocations: 200 kB / 386.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.01934, allocations: 27.81 kB / 386.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.01939, allocations: 11.92 kB / 386.4 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.01946, allocations: 8 kB / 386.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.01952, allocations: 7.984 kB / 386.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.01954, allocations: 7.984 kB / 386.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003275/0.01987, allocations: 271 kB / 386.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01987, allocations: 4 kB / 386.7 MB, free: 8.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.02016, allocations: 39.92 kB / 386.8 MB, free: 8.941 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.003042/0.02321, allocations: 450.6 kB / 387.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.02353, allocations: 99.58 kB / 387.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02353, allocations: 0 / 387.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.02366, allocations: 51.61 kB / 387.4 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.02412, allocations: 60.72 kB / 387.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.025, allocations: 394.4 kB / 387.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.02517, allocations: 136.8 kB / 387.9 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.02528, allocations: 38.08 kB / 388 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.02534, allocations: 20.5 kB / 388 MB, free: 7.801 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02535, allocations: 0 / 388 MB, free: 7.801 MB / 362.7 MB Notification: Performance of Templates: time 0.00913/0.03447, allocations: 3.22 MB / 391.2 MB, free: 4.617 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/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.124504843028262]