Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.221/0.221, allocations: 46.97 MB / 361.6 MB, free: 4.004 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.91 kB / 0.4974 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.29, allocations: 66.04 MB / 0.5619 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003619/0.2936, allocations: 1.89 MB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.2955, allocations: 1.01 MB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.214e-05/0.2956, allocations: 7.938 kB / 0.5647 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002827/0.2958, allocations: 43.7 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.2962, allocations: 103.5 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.2964, allocations: 99.64 kB / 0.5649 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.2966, allocations: 151.5 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2967, allocations: 25.39 kB / 0.5651 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.972e-05/0.2968, allocations: 59.7 kB / 0.5652 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2969, allocations: 51.72 kB / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.2969, allocations: 4 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.297, allocations: 51.92 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.2971, allocations: 27.91 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.2972, allocations: 39.73 kB / 0.5653 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.2974, allocations: 154.1 kB / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2974, allocations: 0 / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2974, allocations: 0 / 0.5655 GB, free: 396 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2974, allocations: 4 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006786/0.2981, allocations: 418.9 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2982, allocations: 12.03 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.2982, allocations: 16.84 kB / 0.5659 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.2986, allocations: 167.1 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.2986, allocations: 8.375 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2986, allocations: 12.06 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.2989, allocations: 144.7 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2989, allocations: 0 / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.2989, allocations: 3.984 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2989, allocations: 4 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.2991, allocations: 47.91 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.2997, allocations: 444.8 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.3, allocations: 86.59 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3001, allocations: 40.83 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3001, allocations: 4 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.3004, allocations: 113 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3004, allocations: 0 / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004208/0.3008, allocations: 145.5 kB / 0.5671 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3008, allocations: 55.39 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.301, allocations: 211 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.3011, allocations: 29.7 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.3012, allocations: 116.1 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.3012, allocations: 35.72 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.3012, allocations: 29.7 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3014, allocations: 326.8 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.79e-05/0.3015, allocations: 27.98 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3016, allocations: 64.27 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.3018, allocations: 108.5 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3018, allocations: 0 / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003102/0.3022, allocations: 137.4 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3022, allocations: 11.94 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3022, allocations: 0 / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3022, allocations: 4 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3023, allocations: 28.05 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.3023, allocations: 7.938 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.537e-05/0.3024, allocations: 11.95 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.3024, allocations: 8 kB / 0.5682 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001343/0.3025, allocations: 132.7 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.3026, allocations: 19.91 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.3029, allocations: 131 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3029, allocations: 0 / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3029, allocations: 3.938 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3029, allocations: 7.984 kB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3031, allocations: 145.3 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3031, allocations: 0 / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.3032, allocations: 16 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3032, allocations: 0 / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3032, allocations: 4 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3032, allocations: 0 / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3032, allocations: 0 / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.3037, allocations: 197 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.3037, allocations: 20.08 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3037, allocations: 7.922 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.3038, allocations: 8 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3038, allocations: 7.984 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.3038, allocations: 7.938 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.304, allocations: 147.2 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.304, allocations: 0 / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.3042, allocations: 31.92 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001665/0.3059, allocations: 443.2 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.3062, allocations: 87.83 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3062, allocations: 0 / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3063, allocations: 31.92 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3066, allocations: 48.34 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.3071, allocations: 271.4 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.3073, allocations: 118 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.962e-05/0.3073, allocations: 21.41 kB / 0.5701 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.3074, allocations: 15.44 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3074, allocations: 0 / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of Templates: time 0.005757/0.3131, allocations: 2.143 MB / 0.5722 GB, free: 9.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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: 4.865411688006134]