Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 103 kB / 16.27 MB, free: 5.93 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.001381/0.001381, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.647/1.647, allocations: 205.1 MB / 223.1 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.2195/0.2195, allocations: 43.52 MB / 313.9 MB, free: 0.5156 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.001695/0.001695, allocations: 71.5 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09877, allocations: 57.79 MB / 440.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003031/0.1018, allocations: 1.909 MB / 442.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1032, allocations: 0.8311 MB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1034, allocations: 3.938 kB / 443.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004369/0.1038, allocations: 55.69 kB / 443.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000248/0.1041, allocations: 51.7 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.1044, allocations: 111.5 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1046, allocations: 135.6 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1048, allocations: 33.7 kB / 443.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.664e-05/0.1049, allocations: 51.72 kB / 443.7 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.105, allocations: 51.72 kB / 443.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.105, allocations: 4 kB / 443.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.852e-05/0.1051, allocations: 51.97 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.1052, allocations: 23.92 kB / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.049e-05/0.1053, allocations: 51.61 kB / 443.9 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.1056, allocations: 147.5 kB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1056, allocations: 0 / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1056, allocations: 4 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1056, allocations: 0 / 444 MB, free: 3.344 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006918/0.1063, allocations: 480.4 kB / 444.5 MB, free: 2.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1064, allocations: 15.89 kB / 444.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.1065, allocations: 12.75 kB / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1067, allocations: 216 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1068, allocations: 4.375 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1068, allocations: 12.12 kB / 444.8 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.107, allocations: 112.2 kB / 444.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1071, allocations: 0 / 444.9 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1071, allocations: 4 kB / 444.9 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1071, allocations: 4 kB / 444.9 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1072, allocations: 47.89 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.1077, allocations: 0.5164 MB / 445.4 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.108, allocations: 86.66 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.647e-05/0.1081, allocations: 40.84 kB / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1081, allocations: 3.984 kB / 445.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.1084, allocations: 87.25 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 2.003e-06/0.1084, allocations: 0 / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003421/0.1087, allocations: 141.4 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.1088, allocations: 63.34 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1089, allocations: 195.4 kB / 446 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.1089, allocations: 29.7 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.109, allocations: 112 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.109, allocations: 27.66 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.1091, allocations: 29.7 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.1091, allocations: 322.8 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.1092, allocations: 35.98 kB / 446.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.1093, allocations: 64.27 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1094, allocations: 104.1 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1095, allocations: 0 / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002203/0.1097, allocations: 137.7 kB / 446.9 MB, free: 216 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1097, allocations: 8 kB / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1097, allocations: 96 / 446.9 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1097, allocations: 3.938 kB / 446.9 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.1098, allocations: 32.05 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1099, allocations: 7.938 kB / 446.9 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.1099, allocations: 7.906 kB / 446.9 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1099, allocations: 8 kB / 446.9 MB, free: 148 kB / 318.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 9.043e-05/0.11, allocations: 125.8 kB / 447.1 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.1101, allocations: 15.98 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.1102, allocations: 17.41 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1102, allocations: 3.938 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1102, allocations: 0 / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1102, allocations: 4 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.1104, allocations: 213.5 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1104, allocations: 3.984 kB / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.1105, allocations: 12 kB / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1105, allocations: 0 / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1105, allocations: 0 / 447.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.1106, allocations: 11.88 kB / 447.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1106, allocations: 0 / 447.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.111, allocations: 184.8 kB / 447.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.111, allocations: 85.05 kB / 447.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.1111, allocations: 4 kB / 447.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.1111, allocations: 15.86 kB / 447.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.1112, allocations: 4 kB / 447.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1112, allocations: 0 / 447.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1114, allocations: 145.2 kB / 447.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1114, allocations: 0 / 447.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.1116, allocations: 32.05 kB / 447.8 MB, free: 15.18 MB / 334.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009994/0.1126, allocations: 405.7 kB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002554/0.1129, allocations: 79.84 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1129, allocations: 0 / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.113, allocations: 39.97 kB / 448.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1133, allocations: 40.53 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.1139, allocations: 275.8 kB / 448.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1142, allocations: 0.7123 MB / 449.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.806e-05/0.1143, allocations: 21.41 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.1143, allocations: 15.44 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1143, allocations: 4 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of Templates: time 0.004924/0.1193, allocations: 1.868 MB / 451.2 MB, free: 11.78 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches