Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001456/0.001456, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001598/0.001598, allocations: 211.9 kB / 24.5 MB, free: 4.148 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.362/1.362, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.2087/0.2087, allocations: 46.93 MB / 361.5 MB, free: 4.172 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 79.88 kB / 0.4975 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2873, allocations: 66.08 MB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.00309/0.2904, allocations: 1.846 MB / 0.5638 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.2931, allocations: 1.803 MB / 0.5656 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.2932, allocations: 7.938 kB / 0.5656 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.2935, allocations: 51.69 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004194/0.2939, allocations: 139.4 kB / 0.5658 GB, free: 356 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.2942, allocations: 111.6 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.2945, allocations: 211.3 kB / 0.5661 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.2945, allocations: 5.812 kB / 0.5661 GB, free: 24 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.2947, allocations: 95.56 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.2949, allocations: 75.67 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.295, allocations: 12 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.2952, allocations: 119.8 kB / 0.5664 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.2953, allocations: 39.89 kB / 0.5664 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.436e-05/0.2953, allocations: 55.61 kB / 0.5665 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.2957, allocations: 241.3 kB / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2957, allocations: 4 kB / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2957, allocations: 0 / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.2957, allocations: 0 / 0.5667 GB, free: 15.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006887/0.2964, allocations: 425 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2964, allocations: 12.03 kB / 0.5671 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.2965, allocations: 16.84 kB / 0.5671 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.2968, allocations: 198.1 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.2968, allocations: 8.375 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2969, allocations: 4.375 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.2971, allocations: 101.4 kB / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.2971, allocations: 0 / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.2971, allocations: 0 / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2971, allocations: 0 / 0.5674 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.2972, allocations: 31.92 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.2975, allocations: 197.5 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.2977, allocations: 105.2 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.2978, allocations: 37.7 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.2979, allocations: 11.97 kB / 0.5678 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.2981, allocations: 105 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.2981, allocations: 4 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004334/0.2985, allocations: 169.4 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.2986, allocations: 132.5 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.2989, allocations: 234.3 kB / 0.5684 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.2989, allocations: 33.7 kB / 0.5684 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.299, allocations: 112.1 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.299, allocations: 31.8 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.2991, allocations: 29.7 kB / 0.5686 GB, free: 13.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2992, allocations: 326.8 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.125e-05/0.2993, allocations: 31.98 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.2994, allocations: 73.12 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.2996, allocations: 95.89 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2996, allocations: 0 / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002707/0.2999, allocations: 137.4 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2999, allocations: 6.031 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2999, allocations: 7.938 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2999, allocations: 3.938 kB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3, allocations: 20 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3, allocations: 3.984 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.3001, allocations: 19.83 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3001, allocations: 8.062 kB / 0.5693 GB, free: 12.46 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001286/0.3003, allocations: 139.1 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.3003, allocations: 19.84 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.3006, allocations: 146.7 kB / 0.5696 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3006, allocations: 4 kB / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3006, allocations: 0 / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3006, allocations: 0 / 0.5696 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.3008, allocations: 204.6 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3008, allocations: 4 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.3009, allocations: 7.938 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.3009, allocations: 4 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3009, allocations: 256 / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3009, allocations: 4 kB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3009, allocations: 4 kB / 0.5698 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.3012, allocations: 173.8 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.3012, allocations: 19.78 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.3013, allocations: 4 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.3013, allocations: 11.98 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.3014, allocations: 7.984 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3014, allocations: 4 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3016, allocations: 176.5 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.3016, allocations: 0 / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.3019, allocations: 59.86 kB / 0.5703 GB, free: 11.4 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001705/0.3036, allocations: 0.4944 MB / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.3038, allocations: 75.91 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3038, allocations: 0 / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3039, allocations: 43.91 kB / 0.5709 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.3043, allocations: 56.02 kB / 0.5709 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.3049, allocations: 309.5 kB / 0.5712 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3052, allocations: 0.7203 MB / 0.5719 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.3053, allocations: 27.42 kB / 0.5719 GB, free: 9.781 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3053, allocations: 0 / 0.5719 GB, free: 9.781 MB / 414.1 MB Notification: Performance of Templates: time 0.005536/0.3108, allocations: 3.182 MB / 0.575 GB, free: 6.613 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.393923603929579]