Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006243/0.006243, allocations: 104.9 kB / 15.87 MB, free: 6.25 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.001098/0.001098, allocations: 196.2 kB / 16.79 MB, free: 6.18 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4976/0.4976, allocations: 43.49 MB / 313.5 MB, free: 8.535 MB / 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.001674/0.001674, allocations: 64.42 kB / 382 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.184, allocations: 57.79 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.004454/0.1886, allocations: 1.752 MB / 441.6 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1902, allocations: 0.7924 MB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1903, allocations: 3.938 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.1908, allocations: 35.89 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.191, allocations: 43.83 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1913, allocations: 83.86 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.1915, allocations: 87.69 kB / 442.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1917, allocations: 20.2 kB / 442.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.431e-05/0.1918, allocations: 35.8 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.1919, allocations: 31.78 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.1919, allocations: 4 kB / 442.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.192, allocations: 35.98 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.1921, allocations: 19.92 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.1922, allocations: 31.75 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1924, allocations: 111.9 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1924, allocations: 4 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1924, allocations: 0 / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1925, allocations: 0 / 442.9 MB, free: 11.72 MB / 382.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.0006694/0.1931, allocations: 414.9 kB / 443.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1932, allocations: 11.97 kB / 443.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.1932, allocations: 8.844 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.1936, allocations: 216 kB / 443.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1936, allocations: 4.375 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1936, allocations: 8.125 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1938, allocations: 53.67 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1938, allocations: 0 / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1938, allocations: 3.938 kB / 443.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.1938, allocations: 4 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.1939, allocations: 19.92 kB / 443.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.1943, allocations: 280.9 kB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1945, allocations: 66.66 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.1946, allocations: 20.84 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1946, allocations: 4 kB / 444 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1948, allocations: 71.23 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1948, allocations: 4 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006668/0.1955, allocations: 169.6 kB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1956, allocations: 55.41 kB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1958, allocations: 182.2 kB / 444.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1958, allocations: 29.7 kB / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.142e-05/0.1959, allocations: 104.1 kB / 444.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.1959, allocations: 23.7 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.196, allocations: 21.72 kB / 444.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1961, allocations: 330.8 kB / 445 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.1962, allocations: 24.05 kB / 445 MB, free: 9.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.1963, allocations: 37.7 kB / 445 MB, free: 9.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1964, allocations: 57.66 kB / 445.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1964, allocations: 4 kB / 445.1 MB, free: 9.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.1966, allocations: 105.6 kB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1966, allocations: 4 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1966, allocations: 0 / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1966, allocations: 4 kB / 445.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.1968, allocations: 15.98 kB / 445.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.1968, allocations: 0 / 445.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.1968, allocations: 7.938 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.1968, allocations: 4 kB / 445.2 MB, free: 9.16 MB / 382.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.0001056/0.197, allocations: 122 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.197, allocations: 15.92 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.197, allocations: 16.66 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.197, allocations: 4 kB / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.197, allocations: 0 / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1971, allocations: 3.938 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.1975, allocations: 391.2 kB / 445.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1975, allocations: 3.938 kB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.222e-05/0.1976, allocations: 15.92 kB / 445.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1976, allocations: 8.031 kB / 445.8 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1976, allocations: 3.938 kB / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1976, allocations: 0 / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1976, allocations: 0 / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1978, allocations: 200.3 kB / 446 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.773e-05/0.1979, allocations: 85.02 kB / 446.1 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.1979, allocations: 15.92 kB / 446.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.198, allocations: 4 kB / 446.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.1981, allocations: 4 kB / 446.1 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.1981, allocations: 7.984 kB / 446.1 MB, free: 8.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1982, allocations: 144 kB / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1982, allocations: 0 / 446.3 MB, free: 8.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1985, allocations: 23.98 kB / 446.3 MB, free: 8.012 MB / 382.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.001162/0.1996, allocations: 482.3 kB / 446.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1998, allocations: 55.92 kB / 446.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1999, allocations: 0 / 446.8 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.539e-05/0.1999, allocations: 27.98 kB / 446.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.2003, allocations: 40.28 kB / 446.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.2009, allocations: 241.1 kB / 447.1 MB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2012, allocations: 0.7043 MB / 447.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.565e-05/0.2013, allocations: 16.86 kB / 447.8 MB, free: 6.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.2014, allocations: 15.44 kB / 447.8 MB, free: 6.426 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2014, allocations: 0 / 447.8 MB, free: 6.426 MB / 382.1 MB Notification: Performance of Templates: time 0.005319/0.2067, allocations: 1.631 MB / 449.5 MB, free: 4.797 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches