Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 103.1 kB / 16.93 MB, free: 5.793 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.001218/0.001218, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.387/1.387, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2031/0.2031, allocations: 43.51 MB / 314.6 MB, free: 0.5312 MB / 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.001598/0.001599, allocations: 67.47 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.09963, allocations: 57.78 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002934/0.1026, allocations: 1.847 MB / 443 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1038, allocations: 0.8935 MB / 443.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-05/0.1039, allocations: 7.938 kB / 443.9 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.1043, allocations: 163.5 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.1046, allocations: 127.5 kB / 444.2 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.1049, allocations: 151.3 kB / 444.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1051, allocations: 211.4 kB / 444.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1052, allocations: 29.77 kB / 444.6 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1053, allocations: 95.66 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1055, allocations: 127.5 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1055, allocations: 4 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.1056, allocations: 51.97 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.1057, allocations: 39.84 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.1057, allocations: 75.41 kB / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1059, allocations: 191.3 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.106, allocations: 0 / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.106, allocations: 4 kB / 445.2 MB, free: 2.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.106, allocations: 0 / 445.2 MB, free: 2.887 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000544/0.1065, allocations: 0.5137 MB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.1066, allocations: 11.89 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.1066, allocations: 24.66 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.1068, allocations: 271.5 kB / 446 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1069, allocations: 4.375 kB / 446 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1069, allocations: 12.12 kB / 446 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1071, allocations: 99.34 kB / 446.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1071, allocations: 0 / 446.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1071, allocations: 4 kB / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1071, allocations: 0 / 446.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.1073, allocations: 39.91 kB / 446.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1077, allocations: 448.9 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.1079, allocations: 109.3 kB / 446.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.108, allocations: 45.7 kB / 446.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.108, allocations: 0 / 446.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.1083, allocations: 120.9 kB / 446.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.1083, allocations: 3.938 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.00076/0.109, allocations: 360.4 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1091, allocations: 89.03 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1093, allocations: 355 kB / 447.7 MB, free: 188 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1094, allocations: 29.7 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.1094, allocations: 140.4 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.1095, allocations: 51.52 kB / 447.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.1096, allocations: 29.72 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1097, allocations: 338.8 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1098, allocations: 47.75 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1099, allocations: 72.61 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1102, allocations: 111.4 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1102, allocations: 4 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003037/0.1105, allocations: 177.3 kB / 448.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1105, allocations: 8 kB / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1105, allocations: 0 / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1105, allocations: 4 kB / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1107, allocations: 35.92 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1107, allocations: 3.938 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.1108, allocations: 4 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.1108, allocations: 15.98 kB / 448.7 MB, free: 15.08 MB / 334.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001363/0.1109, allocations: 161.7 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.111, allocations: 23.72 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.399e-05/0.1111, allocations: 30.05 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1111, allocations: 0 / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1111, allocations: 3.938 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1111, allocations: 7.984 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.1118, allocations: 0.6163 MB / 449.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1119, allocations: 4 kB / 449.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.1119, allocations: 12 kB / 449.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1119, allocations: 4 kB / 449.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.112, allocations: 11.98 kB / 449.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.112, allocations: 3.938 kB / 449.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.112, allocations: 3.938 kB / 449.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.1124, allocations: 363.9 kB / 449.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.1124, allocations: 96.83 kB / 450 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.1125, allocations: 4 kB / 450 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1126, allocations: 12.34 kB / 450 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1127, allocations: 19.98 kB / 450.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1127, allocations: 8 kB / 450.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.1129, allocations: 265.9 kB / 450.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1129, allocations: 0 / 450.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.1133, allocations: 35.94 kB / 450.4 MB, free: 13.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (16): * Single equations (assignments): 12 * 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.001115/0.1144, allocations: 475.4 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.1147, allocations: 115.8 kB / 450.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1147, allocations: 0 / 450.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.1149, allocations: 59.92 kB / 451 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.1154, allocations: 70.88 kB / 451.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.1162, allocations: 480.8 kB / 451.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1166, allocations: 0.7554 MB / 452.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.1166, allocations: 19.44 kB / 452.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1166, allocations: 0 / 452.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of Templates: time 0.005068/0.1217, allocations: 3.11 MB / 455.4 MB, free: 8.258 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches