Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 110.4 kB / 16.64 MB, free: 6.371 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.001849/0.001849, allocations: 186.9 kB / 17.56 MB, free: 5.801 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.533/1.533, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2189/0.2189, allocations: 43.52 MB / 314.3 MB, free: 0.6953 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.001571/0.001571, allocations: 74.52 kB / 382.9 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09388/0.09546, allocations: 57.79 MB / 440.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002965/0.09847, allocations: 1.746 MB / 442.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.09957, allocations: 0.7929 MB / 443.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.518e-05/0.09968, allocations: 0 / 443.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1, allocations: 75.81 kB / 443.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.1003, allocations: 59.81 kB / 443.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1005, allocations: 83.83 kB / 443.4 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1007, allocations: 107.7 kB / 443.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.1008, allocations: 8.5 kB / 443.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.1009, allocations: 55.72 kB / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.101, allocations: 55.81 kB / 443.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.101, allocations: 4 kB / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1011, allocations: 39.98 kB / 443.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.1012, allocations: 31.91 kB / 443.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.1012, allocations: 39.73 kB / 443.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1014, allocations: 83.83 kB / 443.8 MB, free: 4.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1014, allocations: 3.938 kB / 443.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1014, allocations: 7.875 kB / 443.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1014, allocations: 0 / 443.9 MB, free: 4.121 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.0004463/0.1019, allocations: 414.9 kB / 444.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1019, allocations: 11.89 kB / 444.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.102, allocations: 16.75 kB / 444.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.1022, allocations: 213.3 kB / 444.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1022, allocations: 384 / 444.5 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1022, allocations: 8.125 kB / 444.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1024, allocations: 53.67 kB / 444.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1024, allocations: 3.938 kB / 444.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1024, allocations: 0 / 444.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1024, allocations: 3.984 kB / 444.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.1025, allocations: 16 kB / 444.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1028, allocations: 308.7 kB / 444.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.103, allocations: 46.69 kB / 444.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.103, allocations: 32.78 kB / 445 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.1031, allocations: 0 / 445 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.1032, allocations: 63.39 kB / 445 MB, free: 2.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.1033, allocations: 0 / 445 MB, free: 2.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004937/0.1038, allocations: 185.4 kB / 445.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.1038, allocations: 51.41 kB / 445.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.1039, allocations: 210.3 kB / 445.5 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.1039, allocations: 25.7 kB / 445.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.104, allocations: 108.1 kB / 445.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.104, allocations: 27.64 kB / 445.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1041, allocations: 29.72 kB / 445.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.1041, allocations: 322.8 kB / 446 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/0.1042, allocations: 23.98 kB / 446 MB, free: 1.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.1042, allocations: 37.7 kB / 446 MB, free: 1.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.299e-05/0.1043, allocations: 61.7 kB / 446.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1043, allocations: 0 / 446.1 MB, free: 1.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000155/0.1045, allocations: 113.4 kB / 446.2 MB, free: 1.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1045, allocations: 4 kB / 446.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1045, allocations: 0 / 446.2 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1046, allocations: 3.984 kB / 446.2 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.1047, allocations: 19.98 kB / 446.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1047, allocations: 192 / 446.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.1047, allocations: 3.938 kB / 446.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.1047, allocations: 7.938 kB / 446.2 MB, free: 1.508 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 7.861e-05/0.1048, allocations: 137.8 kB / 446.4 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.1048, allocations: 7.906 kB / 446.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.1049, allocations: 25.33 kB / 446.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1049, allocations: 0 / 446.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1049, allocations: 0 / 446.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1049, allocations: 3.938 kB / 446.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.1052, allocations: 395.2 kB / 446.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1053, allocations: 4 kB / 446.8 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.1053, allocations: 8.031 kB / 446.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1053, allocations: 4 kB / 446.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1053, allocations: 7.922 kB / 446.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1053, allocations: 0 / 446.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1053, allocations: 4 kB / 446.8 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1055, allocations: 196.3 kB / 447 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.1055, allocations: 84.92 kB / 447.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1056, allocations: 15.94 kB / 447.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.1057, allocations: 3.984 kB / 447.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.1057, allocations: 7.938 kB / 447.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1057, allocations: 7.938 kB / 447.1 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.1058, allocations: 160.2 kB / 447.3 MB, free: 356 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1058, allocations: 0 / 447.3 MB, free: 356 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1061, allocations: 23.98 kB / 447.3 MB, free: 332 kB / 318.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.001018/0.1071, allocations: 467.6 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1073, allocations: 71.89 kB / 447.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1073, allocations: 0 / 447.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.1074, allocations: 31.86 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1077, allocations: 32.11 kB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.1082, allocations: 300.7 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1085, allocations: 0.7041 MB / 448.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.1086, allocations: 19.44 kB / 448.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1086, allocations: 0 / 448.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Templates: time 0.003791/0.1124, allocations: 1.947 MB / 450.9 MB, free: 12.79 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches