Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 103.9 kB / 16.94 MB, free: 6.184 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.001889/0.00189, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.547/1.547, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2179/0.2179, allocations: 43.51 MB / 314.6 MB, free: 0.5273 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.001673/0.001673, allocations: 70.48 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09647, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002809/0.09932, allocations: 1.555 MB / 442.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1004, allocations: 0.9222 MB / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.1005, allocations: 7.938 kB / 443.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1007, allocations: 19.84 kB / 443.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.101, allocations: 43.78 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.1012, allocations: 79.78 kB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.1013, allocations: 51.91 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.969e-05/0.1014, allocations: 15.92 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.1014, allocations: 19.92 kB / 443.9 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1016, allocations: 23.86 kB / 443.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1016, allocations: 4 kB / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1017, allocations: 47.91 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.1018, allocations: 15.92 kB / 444 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.1018, allocations: 27.88 kB / 444 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.102, allocations: 83.77 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.102, allocations: 0 / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.102, allocations: 0 / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.417e-06/0.102, allocations: 0 / 444.1 MB, free: 3.969 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003673/0.1024, allocations: 383.2 kB / 444.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1024, allocations: 11.89 kB / 444.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.1024, allocations: 4.938 kB / 444.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1026, allocations: 188.2 kB / 444.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1026, allocations: 4.375 kB / 444.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1026, allocations: 4.312 kB / 444.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1028, allocations: 71.47 kB / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1028, allocations: 0 / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.1028, allocations: 0 / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1028, allocations: 0 / 444.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.025e-05/0.1029, allocations: 23.97 kB / 444.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.1032, allocations: 276.9 kB / 445 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1034, allocations: 46.55 kB / 445.1 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.1034, allocations: 8.859 kB / 445.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1035, allocations: 7.984 kB / 445.1 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.1035, allocations: 38.5 kB / 445.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1035, allocations: 4 kB / 445.1 MB, free: 2.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004804/0.104, allocations: 133.7 kB / 445.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.104, allocations: 81.11 kB / 445.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.1041, allocations: 133.7 kB / 445.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.1041, allocations: 25.7 kB / 445.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.1042, allocations: 100 kB / 445.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.1042, allocations: 11.81 kB / 445.6 MB, free: 2.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.1042, allocations: 21.72 kB / 445.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.1043, allocations: 322.8 kB / 446 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.1044, allocations: 15.98 kB / 446 MB, free: 1.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.1044, allocations: 33.64 kB / 446 MB, free: 1.828 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1045, allocations: 52.86 kB / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1046, allocations: 0 / 446.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001542/0.1047, allocations: 77.56 kB / 446.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1047, allocations: 5.25 kB / 446.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1047, allocations: 4 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1048, allocations: 0 / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.1048, allocations: 11.98 kB / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1048, allocations: 0 / 446.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.1049, allocations: 19.92 kB / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.1049, allocations: 0 / 446.2 MB, free: 1.652 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.671e-05/0.105, allocations: 121.7 kB / 446.3 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/0.105, allocations: 4 kB / 446.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.1052, allocations: 89.78 kB / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1052, allocations: 0 / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1052, allocations: 8 kB / 446.4 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1052, allocations: 4 kB / 446.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.1055, allocations: 350.4 kB / 446.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1055, allocations: 0 / 446.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.1056, allocations: 8 kB / 446.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1056, allocations: 0 / 446.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.1056, allocations: 4 kB / 446.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1056, allocations: 7.922 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1056, allocations: 0 / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1058, allocations: 179.4 kB / 446.9 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.1058, allocations: 77.11 kB / 447 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.1058, allocations: 0 / 447 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.1059, allocations: 11.92 kB / 447 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.106, allocations: 4 kB / 447 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.106, allocations: 0 / 447 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.714e-05/0.106, allocations: 115.2 kB / 447.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.106, allocations: 3.938 kB / 447.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000249/0.1063, allocations: 20 kB / 447.2 MB, free: 0.5586 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008786/0.1072, allocations: 450.2 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1074, allocations: 51.91 kB / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1074, allocations: 0 / 447.7 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.1075, allocations: 23.98 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1078, allocations: 15.98 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.1082, allocations: 183.2 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1084, allocations: 0.6885 MB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.1085, allocations: 15.44 kB / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1085, allocations: 0 / 448.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of Templates: time 0.003339/0.1118, allocations: 1.546 MB / 450.1 MB, free: 13.62 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches