Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 112.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 195 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2342/0.2342, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 75.02 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09563, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00251/0.09817, allocations: 1.688 MB / 443.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.0991, allocations: 0.8 MB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.09918, allocations: 8 kB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.09944, allocations: 39.77 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.09964, allocations: 59.75 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.09985, allocations: 79.72 kB / 444.7 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1, allocations: 99.73 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.1001, allocations: 12.22 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.1002, allocations: 43.78 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.1003, allocations: 31.78 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1003, allocations: 4 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.1004, allocations: 43.98 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/0.1004, allocations: 19.92 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.1005, allocations: 35.73 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1006, allocations: 107.6 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1006, allocations: 0 / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1006, allocations: 0 / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.1007, allocations: 0 / 445 MB, free: 3.062 MB / 318.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.0004412/0.1011, allocations: 422.9 kB / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1011, allocations: 15.89 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.1012, allocations: 8.844 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1014, allocations: 212.9 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1014, allocations: 384 / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.1014, allocations: 4.125 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1015, allocations: 57.67 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1016, allocations: 0 / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1016, allocations: 4 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1016, allocations: 0 / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.483e-05/0.1017, allocations: 23.92 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.1019, allocations: 284.8 kB / 446.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1021, allocations: 54.69 kB / 446.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.435e-05/0.1021, allocations: 24.84 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1022, allocations: 3.938 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.1023, allocations: 67.39 kB / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1023, allocations: 0 / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004619/0.1027, allocations: 177.1 kB / 446.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.1028, allocations: 51.41 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1029, allocations: 194.1 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.1029, allocations: 37.64 kB / 446.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.103, allocations: 100.1 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.103, allocations: 19.72 kB / 446.8 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.103, allocations: 25.7 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.1031, allocations: 322.8 kB / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.1031, allocations: 20 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.188e-05/0.1032, allocations: 41.7 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.981e-05/0.1033, allocations: 65.7 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1033, allocations: 0 / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001415/0.1034, allocations: 97.52 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.1035, allocations: 9.25 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1035, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1035, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.1036, allocations: 20.36 kB / 447.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1036, allocations: 4.031 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.1036, allocations: 7.938 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1036, allocations: 8 kB / 447.4 MB, free: 0.4922 MB / 318.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 5.789e-05/0.1037, allocations: 129.7 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.1037, allocations: 15.81 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.693e-05/0.1038, allocations: 16.7 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1038, allocations: 0 / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1038, allocations: 0 / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.1038, allocations: 7.922 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.1042, allocations: 395.3 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1042, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.1042, allocations: 11.94 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1042, allocations: 0 / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1042, allocations: 15.92 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1042, allocations: 0 / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1042, allocations: 0 / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.1045, allocations: 200.3 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1045, allocations: 85.02 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1045, allocations: 7.938 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1046, allocations: 4 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.1047, allocations: 7.922 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1047, allocations: 4 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.1048, allocations: 147.4 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1048, allocations: 4 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1051, allocations: 23.84 kB / 448.4 MB, free: 15.32 MB / 334.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.0009972/0.1061, allocations: 472.3 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1063, allocations: 59.91 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1063, allocations: 0 / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.903e-05/0.1063, allocations: 32.14 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1067, allocations: 29.33 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.1071, allocations: 219.2 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1074, allocations: 0.7042 MB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.37e-05/0.1075, allocations: 16.89 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.1075, allocations: 19.42 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1075, allocations: 0 / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Templates: time 0.004272/0.1118, allocations: 1.68 MB / 451.6 MB, free: 12.16 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches