Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008335, allocations: 98.47 kB / 18.01 MB, free: 5.734 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.0008909/0.0008909, allocations: 176.9 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 242.9 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1969/0.1969, allocations: 44.24 MB / 338.3 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09551, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.001981/0.09753, allocations: 1.437 MB / 474.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.09887, allocations: 0.8421 MB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.09897, allocations: 0 / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.09929, allocations: 107.7 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.0995, allocations: 79.75 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.09981, allocations: 94.72 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.1, allocations: 131.5 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.1001, allocations: 11.98 kB / 475.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1002, allocations: 51.78 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1003, allocations: 67.73 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1004, allocations: 4 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1005, allocations: 51.97 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.935e-05/0.1006, allocations: 23.92 kB / 475.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.1006, allocations: 69.31 kB / 475.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.1008, allocations: 116 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1008, allocations: 0 / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1008, allocations: 0 / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1008, allocations: 4 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005388/0.1014, allocations: 429.1 kB / 476.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1014, allocations: 12.03 kB / 476.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.1015, allocations: 8.844 kB / 476.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1017, allocations: 223.8 kB / 476.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1018, allocations: 8.312 kB / 476.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1018, allocations: 8.031 kB / 476.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.102, allocations: 69.66 kB / 476.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.102, allocations: 4 kB / 476.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.102, allocations: 0 / 476.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.102, allocations: 0 / 476.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.715e-05/0.1021, allocations: 31.98 kB / 476.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1025, allocations: 324.7 kB / 477.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1027, allocations: 74.55 kB / 477.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.378e-05/0.1028, allocations: 28.84 kB / 477.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1028, allocations: 0 / 477.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.103, allocations: 83.41 kB / 477.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.786e-06/0.103, allocations: 0 / 477.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007692/0.1038, allocations: 273.5 kB / 477.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1039, allocations: 67.34 kB / 477.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.1041, allocations: 243.2 kB / 477.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1041, allocations: 29.7 kB / 477.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.1042, allocations: 108.1 kB / 478 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.1042, allocations: 43.45 kB / 478 MB, free: 8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1043, allocations: 17.72 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.1044, allocations: 326.8 kB / 478.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.1044, allocations: 31.98 kB / 478.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/0.1045, allocations: 57.69 kB / 478.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1047, allocations: 89.75 kB / 478.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1047, allocations: 0 / 478.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002367/0.105, allocations: 149.3 kB / 478.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.105, allocations: 6.5 kB / 478.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.105, allocations: 0 / 478.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.105, allocations: 0 / 478.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.1051, allocations: 28.02 kB / 478.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1051, allocations: 3.938 kB / 478.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.1052, allocations: 8 kB / 478.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1052, allocations: 4 kB / 478.7 MB, free: 7.262 MB / 350.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 (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 0.0001118/0.1053, allocations: 138.3 kB / 478.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1053, allocations: 15.81 kB / 478.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.1054, allocations: 25.39 kB / 478.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1054, allocations: 0 / 478.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1054, allocations: 3.938 kB / 478.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1054, allocations: 4 kB / 478.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005431/0.106, allocations: 483.8 kB / 479.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.106, allocations: 0 / 479.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.106, allocations: 12 kB / 479.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.106, allocations: 7.938 kB / 479.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1061, allocations: 7.984 kB / 479.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1061, allocations: 8.062 kB / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1061, allocations: 0 / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1063, allocations: 244.9 kB / 479.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.1064, allocations: 88.92 kB / 479.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.1064, allocations: 8 kB / 479.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.1065, allocations: 12 kB / 479.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1066, allocations: 7.984 kB / 479.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1066, allocations: 11.98 kB / 479.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1067, allocations: 184.2 kB / 480 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1067, allocations: 0 / 480 MB, free: 5.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.107, allocations: 36.09 kB / 480 MB, free: 5.879 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001148/0.1082, allocations: 0.5082 MB / 480.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.1084, allocations: 95.84 kB / 480.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1084, allocations: 0 / 480.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.1085, allocations: 47.92 kB / 480.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1089, allocations: 27.92 kB / 480.7 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.1094, allocations: 377.7 kB / 481 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1097, allocations: 0.7243 MB / 481.8 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/0.1098, allocations: 23.42 kB / 481.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1098, allocations: 0 / 481.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of Templates: time 0.004198/0.114, allocations: 2.343 MB / 484.1 MB, free: 1.887 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches