Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 109.3 kB / 17.03 MB, free: 6.102 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.001608/0.001608, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.825/1.825, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2662/0.2662, allocations: 43.53 MB / 314.7 MB, free: 468 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.002297/0.002298, allocations: 73.66 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1895, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.004316/0.1939, allocations: 1.782 MB / 443.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1964, allocations: 1.476 MB / 445.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1966, allocations: 3.938 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.1971, allocations: 51.77 kB / 445.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.1975, allocations: 91.53 kB / 445.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.1978, allocations: 142 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.1981, allocations: 183.4 kB / 445.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.228e-05/0.1982, allocations: 9.562 kB / 445.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1983, allocations: 71.64 kB / 445.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.1986, allocations: 75.61 kB / 445.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1987, allocations: 12 kB / 445.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.1988, allocations: 63.97 kB / 445.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.1989, allocations: 31.91 kB / 445.9 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.251e-05/0.199, allocations: 59.59 kB / 446 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.1994, allocations: 175.4 kB / 446.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.1994, allocations: 0 / 446.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1994, allocations: 0 / 446.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1994, allocations: 0 / 446.2 MB, free: 1.898 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006908/0.2001, allocations: 466.6 kB / 446.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2002, allocations: 15.89 kB / 446.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.2002, allocations: 20.69 kB / 446.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.2006, allocations: 247.6 kB / 446.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.2006, allocations: 12.36 kB / 446.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2006, allocations: 4.125 kB / 446.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.2009, allocations: 97.09 kB / 447 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2009, allocations: 0 / 447 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.2009, allocations: 3.984 kB / 447 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.2009, allocations: 4 kB / 447 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.2011, allocations: 31.92 kB / 447.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.2013, allocations: 206.6 kB / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.2016, allocations: 105.2 kB / 447.4 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.2017, allocations: 45.62 kB / 447.4 MB, free: 496 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.2017, allocations: 8 kB / 447.4 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.2019, allocations: 105 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.202, allocations: 3.938 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004298/0.2024, allocations: 161.9 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.2025, allocations: 136.4 kB / 447.8 MB, free: 24 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.2028, allocations: 215.8 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.2028, allocations: 25.7 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.2029, allocations: 120.1 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.203, allocations: 27.64 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.868e-05/0.203, allocations: 33.64 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.2033, allocations: 322.8 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.521e-05/0.2034, allocations: 31.98 kB / 448.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.2035, allocations: 72.75 kB / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.2037, allocations: 95.45 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2037, allocations: 0 / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002834/0.204, allocations: 137.3 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2041, allocations: 8 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.2041, allocations: 64 / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2041, allocations: 4 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2043, allocations: 31.92 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2043, allocations: 0 / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.2043, allocations: 7.906 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2044, allocations: 4 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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.0001619/0.2045, allocations: 133.8 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.2046, allocations: 23.75 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.433e-05/0.2047, allocations: 20.98 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2047, allocations: 11.92 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2047, allocations: 0 / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2047, allocations: 0 / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.2049, allocations: 217.5 kB / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2049, allocations: 0 / 449.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.205, allocations: 8.125 kB / 449.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.205, allocations: 7.984 kB / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.205, allocations: 4 kB / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.205, allocations: 0 / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.205, allocations: 0 / 449.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.2053, allocations: 177.6 kB / 449.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.2054, allocations: 88.92 kB / 449.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.2055, allocations: 3.984 kB / 449.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.2055, allocations: 4 kB / 449.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.2056, allocations: 11.98 kB / 449.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2056, allocations: 4 kB / 449.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.2058, allocations: 169.5 kB / 449.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2058, allocations: 0 / 449.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.2061, allocations: 35.94 kB / 449.8 MB, free: 13.84 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001232/0.2073, allocations: 455.3 kB / 450.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.2076, allocations: 83.91 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.2076, allocations: 4 kB / 450.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.2077, allocations: 31.98 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.2081, allocations: 65.84 kB / 450.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006247/0.2088, allocations: 260.1 kB / 450.7 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.2092, allocations: 0.7164 MB / 451.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.927e-05/0.2093, allocations: 26.03 kB / 451.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.2094, allocations: 31.42 kB / 451.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2094, allocations: 0 / 451.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Templates: time 0.007547/0.2169, allocations: 2.643 MB / 454.1 MB, free: 9.582 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches