Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001169/0.001169, allocations: 191 kB / 19.34 MB, free: 3.641 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.46/1.46, allocations: 222.9 MB / 243 MB, free: 15.09 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.2188/0.2188, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002015, allocations: 65.53 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2011, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003703/0.2049, allocations: 1.695 MB / 472.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2065, allocations: 0.8885 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.333e-05/0.2066, allocations: 3.938 kB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.207, allocations: 39.83 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.2073, allocations: 55.69 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.2076, allocations: 110.4 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.2078, allocations: 99.69 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.208, allocations: 8.234 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.2081, allocations: 39.8 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.2082, allocations: 35.77 kB / 473.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.2082, allocations: 4 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.2083, allocations: 43.98 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.2084, allocations: 15.94 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.2085, allocations: 39.72 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.2087, allocations: 111.6 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2087, allocations: 4 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2087, allocations: 4 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2087, allocations: 0 / 473.9 MB, free: 10.46 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.0006843/0.2094, allocations: 418.8 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.2095, allocations: 8.031 kB / 474.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.2096, allocations: 12.84 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.2099, allocations: 206.7 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2099, allocations: 4.375 kB / 474.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.21, allocations: 4.125 kB / 474.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2102, allocations: 57.67 kB / 474.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2102, allocations: 4 kB / 474.6 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.2102, allocations: 3.938 kB / 474.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.2102, allocations: 3.984 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.2103, allocations: 23.92 kB / 474.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.2108, allocations: 292.8 kB / 474.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.211, allocations: 62.67 kB / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.2111, allocations: 16.86 kB / 475 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.2111, allocations: 3.938 kB / 475 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.2113, allocations: 71.38 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.2113, allocations: 0 / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006035/0.2119, allocations: 177.2 kB / 475.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.212, allocations: 51.41 kB / 475.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.2122, allocations: 199.3 kB / 475.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2122, allocations: 33.69 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.2123, allocations: 96.14 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.2123, allocations: 27.64 kB / 475.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.2124, allocations: 21.72 kB / 475.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2126, allocations: 330.8 kB / 476 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.548e-05/0.2126, allocations: 19.98 kB / 476 MB, free: 8.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.2127, allocations: 37.7 kB / 476 MB, free: 8.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.2128, allocations: 61.64 kB / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2128, allocations: 0 / 476.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.213, allocations: 109.6 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.213, allocations: 4 kB / 476.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.213, allocations: 4.031 kB / 476.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.2131, allocations: 4 kB / 476.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.2132, allocations: 15.98 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.2132, allocations: 0 / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.2132, allocations: 7.938 kB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.2133, allocations: 0 / 476.2 MB, free: 7.871 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 0.0001262/0.2134, allocations: 131.5 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.2134, allocations: 11.81 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.2135, allocations: 17.41 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2135, allocations: 4 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2135, allocations: 3.984 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.2135, allocations: 3.938 kB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.214, allocations: 391.3 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.214, allocations: 192 / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.214, allocations: 11.94 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.214, allocations: 3.938 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2141, allocations: 8.312 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2141, allocations: 8.016 kB / 476.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2141, allocations: 4 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.2143, allocations: 200.2 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.753e-05/0.2144, allocations: 85.02 kB / 477.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2144, allocations: 3.938 kB / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.2145, allocations: 8 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.2146, allocations: 15.92 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.2146, allocations: 7.938 kB / 477.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.2147, allocations: 147.9 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2147, allocations: 0 / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.215, allocations: 24 kB / 477.3 MB, free: 6.699 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.001222/0.2162, allocations: 462.3 kB / 477.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.2164, allocations: 59.92 kB / 477.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2164, allocations: 0 / 477.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.2165, allocations: 23.98 kB / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2169, allocations: 35.19 kB / 477.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.2174, allocations: 247.1 kB / 478.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.2178, allocations: 0.708 MB / 478.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.27e-05/0.2178, allocations: 16.86 kB / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.2179, allocations: 15.44 kB / 478.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2179, allocations: 3.938 kB / 478.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of Templates: time 0.005195/0.2231, allocations: 1.707 MB / 480.6 MB, free: 3.574 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches