Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001421, allocations: 115.5 kB / 17.04 MB, free: 5.812 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.001742/0.001742, allocations: 195 kB / 17.98 MB, free: 5.027 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.824/1.824, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2697/0.2697, allocations: 43.52 MB / 314.7 MB, free: 492 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.001749/0.001749, allocations: 67.39 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1837, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.004049/0.1878, allocations: 1.656 MB / 443.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1892, allocations: 0.7828 MB / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1893, allocations: 0 / 444.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.1898, allocations: 87.77 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1901, allocations: 71.67 kB / 444.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1904, allocations: 83.75 kB / 444.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.1906, allocations: 99.69 kB / 444.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.1907, allocations: 7.984 kB / 444.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1909, allocations: 47.78 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.191, allocations: 59.81 kB / 444.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.191, allocations: 0 / 444.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.031e-05/0.1911, allocations: 28 kB / 444.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.1912, allocations: 23.86 kB / 444.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.1912, allocations: 39.72 kB / 445 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1915, allocations: 103.7 kB / 445.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1915, allocations: 0 / 445.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1915, allocations: 0 / 445.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1915, allocations: 0 / 445.1 MB, free: 3.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006732/0.1922, allocations: 410.9 kB / 445.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.1922, allocations: 19.89 kB / 445.5 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.1923, allocations: 12.75 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1926, allocations: 204.1 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1927, allocations: 4.312 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1927, allocations: 8.062 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1929, allocations: 53.67 kB / 445.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1929, allocations: 0 / 445.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1929, allocations: 3.984 kB / 445.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.1929, allocations: 0 / 445.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.193, allocations: 19.98 kB / 445.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.1932, allocations: 181.7 kB / 446 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.1934, allocations: 50.56 kB / 446 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.1935, allocations: 24.78 kB / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1935, allocations: 0 / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.1937, allocations: 67.39 kB / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1937, allocations: 0 / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003297/0.194, allocations: 101.4 kB / 446.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1941, allocations: 51.41 kB / 446.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.1943, allocations: 211.6 kB / 446.4 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1943, allocations: 29.7 kB / 446.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/0.1943, allocations: 104.1 kB / 446.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.1944, allocations: 23.83 kB / 446.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.1944, allocations: 17.72 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.1945, allocations: 326.8 kB / 446.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.877e-05/0.1946, allocations: 15.98 kB / 447 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.1946, allocations: 25.7 kB / 447 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.684e-05/0.1947, allocations: 41.72 kB / 447 MB, free: 0.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1947, allocations: 4.25 kB / 447 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001318/0.1949, allocations: 93.36 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1949, allocations: 8 kB / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1949, allocations: 0 / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1949, allocations: 0 / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.225e-05/0.195, allocations: 8 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.195, allocations: 3.938 kB / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.1951, allocations: 8 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1951, allocations: 4 kB / 447.1 MB, free: 0.7422 MB / 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 (7): * Single equations (assignments): 7 * 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 9.662e-05/0.1952, allocations: 133.7 kB / 447.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1952, allocations: 15.81 kB / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.1953, allocations: 16.98 kB / 447.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1953, allocations: 0 / 447.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1953, allocations: 3.938 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1953, allocations: 0 / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1955, allocations: 185.6 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1955, allocations: 7.984 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.1955, allocations: 0 / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1955, allocations: 8 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1956, allocations: 0 / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1956, allocations: 0 / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1956, allocations: 0 / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.1958, allocations: 112.9 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1959, allocations: 85.02 kB / 447.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1959, allocations: 0 / 447.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.196, allocations: 4 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.196, allocations: 11.98 kB / 447.7 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.196, allocations: 4 kB / 447.7 MB, free: 72 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1963, allocations: 155.2 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1963, allocations: 0 / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.1965, allocations: 23.91 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001134/0.1976, allocations: 427.6 kB / 448.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.1978, allocations: 39.92 kB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1979, allocations: 4.062 kB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.406e-05/0.1979, allocations: 20 kB / 448.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1982, allocations: 31.89 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.1988, allocations: 218.1 kB / 448.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.1993, allocations: 0.7078 MB / 449.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.1994, allocations: 8.812 kB / 449.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.1994, allocations: 19.42 kB / 449.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1995, allocations: 0 / 449.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of Templates: time 0.005555/0.205, allocations: 1.478 MB / 450.8 MB, free: 13 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches