Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 105.9 kB / 17.03 MB, free: 5.703 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.001549/0.001549, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.823/1.823, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2745/0.2745, allocations: 43.53 MB / 314.7 MB, free: 464 kB / 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.002361/0.002361, allocations: 70.47 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2155, allocations: 57.79 MB / 442 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.005991/0.2216, allocations: 1.693 MB / 443.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2233, allocations: 0.8 MB / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.2234, allocations: 0 / 444.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.2238, allocations: 47.81 kB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.2241, allocations: 63.69 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.2245, allocations: 82.27 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.2247, allocations: 99.69 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.2249, allocations: 12.23 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.225, allocations: 39.78 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.2251, allocations: 31.84 kB / 444.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.2252, allocations: 4 kB / 444.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2253, allocations: 47.92 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.833e-05/0.2254, allocations: 23.91 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.2255, allocations: 31.75 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.2258, allocations: 123.6 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.2259, allocations: 4 kB / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.2259, allocations: 4 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2259, allocations: 0 / 445.1 MB, free: 2.996 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.00068/0.2266, allocations: 422.8 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.2266, allocations: 15.88 kB / 445.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.2267, allocations: 8.844 kB / 445.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.2271, allocations: 223.8 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2271, allocations: 4.359 kB / 445.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.2272, allocations: 12.12 kB / 445.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.2274, allocations: 53.67 kB / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.2274, allocations: 0 / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2274, allocations: 4 kB / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2275, allocations: 0 / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2276, allocations: 19.98 kB / 445.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.2281, allocations: 288.8 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.2283, allocations: 58.67 kB / 446.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.2284, allocations: 20.86 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2284, allocations: 0 / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.2286, allocations: 67.38 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.2286, allocations: 7.875 kB / 446.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007999/0.2295, allocations: 169.2 kB / 446.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.2295, allocations: 55.41 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.2298, allocations: 230.6 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2298, allocations: 33.7 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.2299, allocations: 104.1 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.23, allocations: 27.64 kB / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.23, allocations: 21.72 kB / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.2301, allocations: 330.8 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.2302, allocations: 23.98 kB / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.2304, allocations: 33.7 kB / 447.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.2305, allocations: 58.08 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2306, allocations: 3.938 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002729/0.2308, allocations: 105.5 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2309, allocations: 5.25 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2309, allocations: 4 kB / 447.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.2309, allocations: 8.031 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.2311, allocations: 27.91 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.2311, allocations: 0 / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.2312, allocations: 7.938 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2312, allocations: 4 kB / 447.5 MB, free: 356 kB / 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 0.0001075/0.2313, allocations: 133.8 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2314, allocations: 11.84 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.2314, allocations: 21.39 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2315, allocations: 4 kB / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2315, allocations: 0 / 447.6 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2315, allocations: 3.938 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007055/0.2322, allocations: 395.2 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.2322, allocations: 4 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.2323, allocations: 4 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.2323, allocations: 7.984 kB / 448 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.2323, allocations: 3.938 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2324, allocations: 0 / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.2324, allocations: 8.031 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.2328, allocations: 200.2 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.2329, allocations: 88.92 kB / 448.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.2329, allocations: 8.125 kB / 448.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2331, allocations: 7.984 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.2331, allocations: 3.938 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-05/0.2332, allocations: 8 kB / 448.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.2335, allocations: 171.2 kB / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2335, allocations: 0 / 448.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.234, allocations: 20 kB / 448.6 MB, free: 15.16 MB / 334.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.001789/0.2358, allocations: 479.9 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.2361, allocations: 51.97 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2361, allocations: 0 / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.2362, allocations: 39.91 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.2368, allocations: 28.3 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/0.2376, allocations: 247.2 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.2381, allocations: 0.7119 MB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.641e-05/0.2382, allocations: 16.86 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.2382, allocations: 15.44 kB / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2383, allocations: 0 / 450.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Templates: time 0.007493/0.2458, allocations: 1.714 MB / 451.8 MB, free: 11.92 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches