Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008998/0.0008999, allocations: 98.31 kB / 18 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.001112/0.001112, allocations: 180.7 kB / 18.91 MB, free: 4.863 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.324/1.324, allocations: 223.3 MB / 243 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1886/0.1886, allocations: 44.23 MB / 338.3 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002951, allocations: 12 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09715, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002014/0.09919, allocations: 1.41 MB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1006, allocations: 0.846 MB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.165e-05/0.1007, allocations: 0 / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.101, allocations: 71.83 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1012, allocations: 71.78 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1015, allocations: 103.1 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1017, allocations: 99.69 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.1018, allocations: 12.22 kB / 475.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.311e-05/0.1019, allocations: 47.78 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.102, allocations: 51.81 kB / 475.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.102, allocations: 8 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.1021, allocations: 39.92 kB / 475.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.1022, allocations: 19.91 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.1022, allocations: 57.45 kB / 475.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.1024, allocations: 92.08 kB / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1024, allocations: 0 / 475.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1024, allocations: 3.938 kB / 475.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1024, allocations: 3.938 kB / 475.8 MB, free: 10.36 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004906/0.1029, allocations: 411.1 kB / 476.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.103, allocations: 8.031 kB / 476.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.103, allocations: 12.83 kB / 476.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1032, allocations: 208 kB / 476.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1032, allocations: 4.375 kB / 476.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1033, allocations: 8.125 kB / 476.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1034, allocations: 49.67 kB / 476.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1034, allocations: 3.984 kB / 476.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1035, allocations: 8 kB / 476.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1035, allocations: 0 / 476.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.1035, allocations: 19.98 kB / 476.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.1039, allocations: 288.8 kB / 476.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.104, allocations: 54.69 kB / 476.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.1041, allocations: 20.84 kB / 476.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1041, allocations: 7.984 kB / 476.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.1043, allocations: 71.39 kB / 477 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1043, allocations: 3.938 kB / 477 MB, free: 9.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005251/0.1049, allocations: 169.2 kB / 477.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.1049, allocations: 51.41 kB / 477.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.1051, allocations: 227.1 kB / 477.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1051, allocations: 29.7 kB / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.1052, allocations: 104 kB / 477.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.1052, allocations: 27.64 kB / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.1053, allocations: 17.72 kB / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1054, allocations: 326.8 kB / 477.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.1055, allocations: 23.98 kB / 478 MB, free: 8.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.1055, allocations: 33.7 kB / 478 MB, free: 7.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1057, allocations: 65.7 kB / 478.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1057, allocations: 0 / 478.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.1059, allocations: 101.6 kB / 478.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1059, allocations: 4 kB / 478.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1059, allocations: 4 kB / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1059, allocations: 0 / 478.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.591e-05/0.106, allocations: 19.92 kB / 478.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.106, allocations: 0 / 478.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.1061, allocations: 12.12 kB / 478.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1061, allocations: 8.031 kB / 478.2 MB, free: 7.766 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 (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 9.931e-05/0.1062, allocations: 129.8 kB / 478.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.1062, allocations: 15.81 kB / 478.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.1063, allocations: 21.38 kB / 478.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1063, allocations: 4 kB / 478.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1063, allocations: 0 / 478.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1063, allocations: 3.938 kB / 478.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.1068, allocations: 395.3 kB / 478.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1068, allocations: 0 / 478.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.1068, allocations: 8 kB / 478.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1068, allocations: 0 / 478.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1069, allocations: 11.92 kB / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1069, allocations: 0 / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1069, allocations: 0 / 478.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.1071, allocations: 208.2 kB / 479 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.1072, allocations: 85.02 kB / 479.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1072, allocations: 11.92 kB / 479.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.1073, allocations: 4 kB / 479.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1073, allocations: 4 kB / 479.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1073, allocations: 11.92 kB / 479.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1075, allocations: 155.2 kB / 479.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1075, allocations: 0 / 479.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1078, allocations: 24 kB / 479.3 MB, free: 6.59 MB / 350.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.001058/0.1088, allocations: 471.6 kB / 479.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.109, allocations: 59.97 kB / 479.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.109, allocations: 0 / 479.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.1091, allocations: 31.92 kB / 479.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1094, allocations: 28.23 kB / 479.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.1099, allocations: 299.8 kB / 480.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.1102, allocations: 0.7083 MB / 480.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.1102, allocations: 19.42 kB / 480.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1102, allocations: 0 / 480.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Templates: time 0.003735/0.114, allocations: 1.936 MB / 482.8 MB, free: 3.18 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches