Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001696/0.001696, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002368/0.002368, allocations: 212 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 230.2 MB / 256.7 MB, free: 8.652 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2178/0.2178, allocations: 46.89 MB / 359.9 MB, free: 5 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 75.88 kB / 0.495 GB, free: 8.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2824, allocations: 65.99 MB / 0.5595 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003432/0.2858, allocations: 1.991 MB / 0.5614 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2878, allocations: 1.198 MB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.2879, allocations: 0 / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.2886, allocations: 207 kB / 0.5628 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004734/0.2891, allocations: 207.2 kB / 0.563 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.2895, allocations: 159.5 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.2898, allocations: 263.3 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2899, allocations: 20.31 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.2901, allocations: 115.5 kB / 0.5635 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.2903, allocations: 119.5 kB / 0.5636 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.2903, allocations: 12 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.2904, allocations: 59.97 kB / 0.5637 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.794e-05/0.2905, allocations: 59.7 kB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2906, allocations: 87.41 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.291, allocations: 241.6 kB / 0.5641 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.291, allocations: 3.984 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.291, allocations: 4 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.291, allocations: 0 / 0.5641 GB, free: 0.5898 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.0008871/0.2919, allocations: 0.5697 MB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2919, allocations: 8.031 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.292, allocations: 32.72 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.2924, allocations: 283.8 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.2924, allocations: 8.375 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.2924, allocations: 16.05 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.2926, allocations: 104.2 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2926, allocations: 0 / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.2926, allocations: 4 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2927, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.2928, allocations: 39.97 kB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.2933, allocations: 389.5 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.2936, allocations: 101.3 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.2937, allocations: 53.62 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.2937, allocations: 4.078 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002248/0.2939, allocations: 113 kB / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.2939, allocations: 0 / 0.5657 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004672/0.2944, allocations: 181.4 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.2945, allocations: 110.8 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.2949, allocations: 355.3 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2949, allocations: 29.7 kB / 0.5664 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.295, allocations: 136.1 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.295, allocations: 35.73 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.2951, allocations: 33.7 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2953, allocations: 338.8 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.2954, allocations: 39.92 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.2955, allocations: 73.12 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.2957, allocations: 99.86 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2957, allocations: 4.031 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002911/0.296, allocations: 145.5 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.296, allocations: 4 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.296, allocations: 0 / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.296, allocations: 4 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2961, allocations: 27.92 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2961, allocations: 4 kB / 0.5673 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.2962, allocations: 7.953 kB / 0.5673 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2962, allocations: 8 kB / 0.5673 GB, free: 12.98 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.0001547/0.2964, allocations: 162.8 kB / 0.5674 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.2964, allocations: 27.81 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.2968, allocations: 159.4 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2968, allocations: 3.984 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2968, allocations: 256 / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2968, allocations: 0 / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.2971, allocations: 261.5 kB / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2971, allocations: 7.984 kB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.2971, allocations: 11.94 kB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2971, allocations: 3.984 kB / 0.5679 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2971, allocations: 7.938 kB / 0.5679 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2971, allocations: 3.938 kB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2971, allocations: 0 / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.2975, allocations: 185.7 kB / 0.5681 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.07e-05/0.2975, allocations: 101 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.2976, allocations: 4 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.2977, allocations: 7.984 kB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.2977, allocations: 11.98 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.2977, allocations: 7.938 kB / 0.5682 GB, free: 11.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002844/0.298, allocations: 261.9 kB / 0.5685 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.298, allocations: 0 / 0.5685 GB, free: 11.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.2983, allocations: 39.94 kB / 0.5685 GB, free: 11.63 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.001486/0.2998, allocations: 420.1 kB / 0.5689 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3, allocations: 79.91 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3, allocations: 4 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3002, allocations: 47.91 kB / 0.569 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3006, allocations: 63.33 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007229/0.3013, allocations: 434.1 kB / 0.5695 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3017, allocations: 0.7479 MB / 0.5702 GB, free: 9.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.3017, allocations: 27.42 kB / 0.5703 GB, free: 9.906 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3017, allocations: 0 / 0.5703 GB, free: 9.906 MB / 414.1 MB Notification: Performance of Templates: time 0.005849/0.3076, allocations: 3.361 MB / 0.5735 GB, free: 6.559 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches