Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.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.006872/0.006872, allocations: 106.4 kB / 21.98 MB, free: 5.223 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.001696/0.001696, allocations: 215.9 kB / 25.29 MB, free: 3.203 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.46/1.46, allocations: 230.5 MB / 258.9 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2206/0.2206, allocations: 46.93 MB / 362.3 MB, free: 4.203 MB / 286.1 MB " [Timeout remaining time 180] 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27") [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.002274/0.002274, allocations: 83.86 kB / 0.4983 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2858, allocations: 66.07 MB / 0.5628 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003855/0.2896, allocations: 1.745 MB / 0.5645 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2914, allocations: 1.049 MB / 0.5655 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.2914, allocations: 0 / 0.5655 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.2917, allocations: 43.77 kB / 0.5656 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.292, allocations: 95.55 kB / 0.5657 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.2922, allocations: 87.66 kB / 0.5657 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.2923, allocations: 99.7 kB / 0.5658 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.112e-05/0.2924, allocations: 7.984 kB / 0.5658 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.2925, allocations: 43.78 kB / 0.5659 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.2926, allocations: 35.8 kB / 0.5659 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.2926, allocations: 4 kB / 0.5659 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.2927, allocations: 47.91 kB / 0.566 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.2928, allocations: 19.92 kB / 0.566 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.2928, allocations: 35.73 kB / 0.566 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.293, allocations: 121.9 kB / 0.5661 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.293, allocations: 4 kB / 0.5661 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2931, allocations: 7.938 kB / 0.5662 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2931, allocations: 0 / 0.5662 GB, free: 0.7852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005237/0.2936, allocations: 345.5 kB / 0.5665 GB, free: 428 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2936, allocations: 12.03 kB / 0.5665 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.2937, allocations: 8.891 kB / 0.5665 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.2939, allocations: 154.9 kB / 0.5666 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.2939, allocations: 4.375 kB / 0.5667 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.294, allocations: 4.375 kB / 0.5667 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.2941, allocations: 61.98 kB / 0.5667 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.2941, allocations: 4 kB / 0.5667 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2941, allocations: 3.984 kB / 0.5667 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2941, allocations: 0 / 0.5667 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.2942, allocations: 19.98 kB / 0.5667 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.2946, allocations: 263.8 kB / 0.567 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.2948, allocations: 54.69 kB / 0.567 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.2948, allocations: 20.84 kB / 0.5671 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2949, allocations: 0 / 0.5671 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.295, allocations: 71.33 kB / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.295, allocations: 0 / 0.5671 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005269/0.2955, allocations: 173.4 kB / 0.5673 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.2956, allocations: 59.34 kB / 0.5674 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.2958, allocations: 202.3 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2958, allocations: 25.7 kB / 0.5676 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.2959, allocations: 108.1 kB / 0.5677 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2959, allocations: 23.8 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.2959, allocations: 29.7 kB / 0.5677 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2961, allocations: 326.8 kB / 0.568 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.2962, allocations: 20 kB / 0.5681 GB, free: 14.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.695e-05/0.2962, allocations: 37.7 kB / 0.5681 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.2963, allocations: 57.64 kB / 0.5681 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2963, allocations: 4 kB / 0.5682 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.2965, allocations: 101.6 kB / 0.5682 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2966, allocations: 6.656 kB / 0.5683 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2966, allocations: 4 kB / 0.5683 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2966, allocations: 4.031 kB / 0.5683 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.429e-05/0.2967, allocations: 15.94 kB / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2967, allocations: 192 / 0.5683 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.661e-05/0.2967, allocations: 7.984 kB / 0.5683 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.2967, allocations: 7.938 kB / 0.5683 GB, free: 14.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001044/0.2968, allocations: 125.8 kB / 0.5684 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.2968, allocations: 11.91 kB / 0.5684 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.2971, allocations: 123.1 kB / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2971, allocations: 4 kB / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2971, allocations: 0 / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2971, allocations: 0 / 0.5685 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.2976, allocations: 374.7 kB / 0.5689 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2976, allocations: 0 / 0.5689 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.2976, allocations: 15.98 kB / 0.5689 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2976, allocations: 0 / 0.5689 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2976, allocations: 4 kB / 0.5689 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2976, allocations: 7.969 kB / 0.5689 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2976, allocations: 0 / 0.5689 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.2979, allocations: 204.3 kB / 0.5691 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.2979, allocations: 11.89 kB / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.2979, allocations: 4 kB / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.298, allocations: 3.938 kB / 0.5691 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.298, allocations: 19.92 kB / 0.5692 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.298, allocations: 4 kB / 0.5692 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.2982, allocations: 148.2 kB / 0.5693 GB, free: 13.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2982, allocations: 0 / 0.5693 GB, free: 13.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.2984, allocations: 23.94 kB / 0.5693 GB, free: 13.23 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001674/0.3001, allocations: 449.9 kB / 0.5698 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.3003, allocations: 51.92 kB / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3003, allocations: 0 / 0.5698 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.3003, allocations: 31.97 kB / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3007, allocations: 26.3 kB / 0.5699 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.3012, allocations: 268.5 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3015, allocations: 0.7041 MB / 0.5708 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.3016, allocations: 19.42 kB / 0.5708 GB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3016, allocations: 0 / 0.5708 GB, free: 11.8 MB / 414.1 MB Notification: Performance of Templates: time 0.004053/0.3056, allocations: 1.961 MB / 0.5727 GB, free: 9.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test27.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: 7.78721561213024]