Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 106.1 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.002037/0.002037, allocations: 196.1 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.778/1.778, 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.2824/0.2824, allocations: 43.53 MB / 314.7 MB, free: 480 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.001653/0.001653, allocations: 74.42 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1791, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004649/0.1838, allocations: 1.916 MB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1854, allocations: 0.9714 MB / 444.9 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1855, allocations: 3.938 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007588/0.1864, allocations: 203.4 kB / 445.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.1867, allocations: 155.4 kB / 445.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.1872, allocations: 183.2 kB / 445.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.1875, allocations: 259.3 kB / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1876, allocations: 21.67 kB / 445.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1877, allocations: 115.5 kB / 445.8 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1879, allocations: 103.6 kB / 445.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.1879, allocations: 12 kB / 445.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1881, allocations: 51.91 kB / 445.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.466e-05/0.1882, allocations: 59.83 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.1883, allocations: 83.41 kB / 446.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1885, allocations: 235.2 kB / 446.3 MB, free: 1.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1886, allocations: 3.984 kB / 446.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1886, allocations: 0 / 446.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1886, allocations: 0 / 446.3 MB, free: 1.77 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008926/0.1895, allocations: 0.5427 MB / 446.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.1895, allocations: 15.89 kB / 446.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.1896, allocations: 20.66 kB / 446.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.19, allocations: 287.5 kB / 447.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.19, allocations: 8.375 kB / 447.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.1901, allocations: 4.125 kB / 447.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.1903, allocations: 108.2 kB / 447.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1903, allocations: 0 / 447.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.1903, allocations: 3.938 kB / 447.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1903, allocations: 4 kB / 447.3 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1905, allocations: 43.91 kB / 447.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.191, allocations: 373.6 kB / 447.7 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.1912, allocations: 125.2 kB / 447.8 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.1913, allocations: 41.7 kB / 447.9 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1914, allocations: 4 kB / 447.9 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.1917, allocations: 120.9 kB / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.1917, allocations: 0 / 448 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004637/0.1921, allocations: 181.3 kB / 448.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.1922, allocations: 102.8 kB / 448.3 MB, free: 15.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/0.1926, allocations: 335 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1926, allocations: 29.7 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.1928, allocations: 144.2 kB / 448.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.1928, allocations: 27.56 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.1929, allocations: 33.7 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1931, allocations: 342.8 kB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.1932, allocations: 27.98 kB / 449.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1933, allocations: 84.78 kB / 449.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.1935, allocations: 91.36 kB / 449.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1935, allocations: 0 / 449.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002802/0.1938, allocations: 154 kB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1938, allocations: 8 kB / 449.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.1938, allocations: 4 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1939, allocations: 7.984 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.194, allocations: 19.98 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.194, allocations: 0 / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.1941, allocations: 8 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1941, allocations: 11.94 kB / 449.6 MB, free: 14.21 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001429/0.1942, allocations: 157.6 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.1943, allocations: 27.72 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.1944, allocations: 25.73 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1944, allocations: 4 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1944, allocations: 0 / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1944, allocations: 0 / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.1946, allocations: 261.3 kB / 450 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1946, allocations: 0 / 450 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1947, allocations: 7.984 kB / 450 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1947, allocations: 4 kB / 450 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1947, allocations: 0 / 450 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1947, allocations: 0 / 450 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1947, allocations: 8 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.1951, allocations: 189.4 kB / 450.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.1951, allocations: 92.91 kB / 450.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.1952, allocations: 4 kB / 450.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1953, allocations: 11.98 kB / 450.3 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.1953, allocations: 8 kB / 450.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/0.1954, allocations: 11.92 kB / 450.4 MB, free: 13.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.1956, allocations: 249.9 kB / 450.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1956, allocations: 0 / 450.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1959, allocations: 39.91 kB / 450.7 MB, free: 13.03 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.00106/0.1969, allocations: 422.8 kB / 451.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.1972, allocations: 95.95 kB / 451.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1972, allocations: 0 / 451.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1974, allocations: 47.92 kB / 451.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1978, allocations: 70.36 kB / 451.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.1985, allocations: 372.3 kB / 451.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.1989, allocations: 0.7477 MB / 452.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.743e-05/0.199, allocations: 33.92 kB / 452.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.1991, allocations: 27.42 kB / 452.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1991, allocations: 0 / 452.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of Templates: time 0.00739/0.2065, allocations: 2.959 MB / 455.4 MB, free: 8.309 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches