Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001476/0.001476, allocations: 108.5 kB / 17.85 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001899/0.001899, allocations: 213.7 kB / 18.79 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.217/2.217, allocations: 227.4 MB / 246.9 MB, free: 8.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3549/0.3549, allocations: 46.11 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 69.02 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1849, allocations: 62.45 MB / 479.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00531/0.1902, allocations: 1.889 MB / 481.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.1945, allocations: 1.663 MB / 483.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.1949, allocations: 0 / 483.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.1954, allocations: 51.75 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006891/0.1962, allocations: 123.5 kB / 483.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.1967, allocations: 91.78 kB / 483.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.1971, allocations: 187.4 kB / 483.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.1972, allocations: 9.688 kB / 484 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.1975, allocations: 87.56 kB / 484 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.1979, allocations: 75.61 kB / 484.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.1979, allocations: 4 kB / 484.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003806/0.1983, allocations: 107.9 kB / 484.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1985, allocations: 31.84 kB / 484.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.1986, allocations: 59.59 kB / 484.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.1991, allocations: 168 kB / 484.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.637e-05/0.1991, allocations: 0 / 484.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1991, allocations: 7.875 kB / 484.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1991, allocations: 0 / 484.5 MB, free: 1.121 MB / 350.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.001142/0.2003, allocations: 490.7 kB / 485 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.2003, allocations: 8.875 kB / 485 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.2005, allocations: 24.66 kB / 485 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.201, allocations: 256.9 kB / 485.2 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.201, allocations: 4.375 kB / 485.2 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.201, allocations: 8.125 kB / 485.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.2014, allocations: 101 kB / 485.4 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2014, allocations: 0 / 485.4 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2015, allocations: 4 kB / 485.4 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.2015, allocations: 7.984 kB / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.2017, allocations: 31.92 kB / 485.4 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.2021, allocations: 222.5 kB / 485.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.2025, allocations: 101.2 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2027, allocations: 45.62 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/0.2027, allocations: 3.938 kB / 485.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.2032, allocations: 105.1 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.446e-06/0.2032, allocations: 4 kB / 485.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007228/0.204, allocations: 165.4 kB / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2041, allocations: 128.5 kB / 486.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.2045, allocations: 237.6 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.2045, allocations: 25.7 kB / 486.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2046, allocations: 120.1 kB / 486.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/0.2047, allocations: 31.58 kB / 486.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.2048, allocations: 37.7 kB / 486.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.205, allocations: 330.8 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2052, allocations: 27.98 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.2054, allocations: 73 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.2056, allocations: 95.89 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2057, allocations: 0 / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004587/0.2061, allocations: 141.2 kB / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.2062, allocations: 4 kB / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2062, allocations: 0 / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.2062, allocations: 4 kB / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.2064, allocations: 23.92 kB / 487.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.2064, allocations: 8.062 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.2066, allocations: 8 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.2066, allocations: 4 kB / 487.3 MB, free: 13.99 MB / 366.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.0001841/0.2068, allocations: 142.2 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.2069, allocations: 19.72 kB / 487.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.207, allocations: 16.98 kB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.207, allocations: 4 kB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.207, allocations: 0 / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.207, allocations: 4 kB / 487.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.2073, allocations: 233.4 kB / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2073, allocations: 0 / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.578e-05/0.2074, allocations: 15.92 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2074, allocations: 0 / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.2074, allocations: 0 / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.2074, allocations: 4 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2075, allocations: 0 / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.2079, allocations: 173.8 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.208, allocations: 92.91 kB / 488 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.2081, allocations: 12 kB / 488 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2082, allocations: 4 kB / 488 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.2083, allocations: 7.984 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2084, allocations: 7.984 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003121/0.2087, allocations: 180.5 kB / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2087, allocations: 0 / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.2092, allocations: 56.09 kB / 488.3 MB, free: 12.95 MB / 366.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.001831/0.2111, allocations: 499.6 kB / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.2115, allocations: 79.89 kB / 488.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2115, allocations: 7.938 kB / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.2117, allocations: 35.98 kB / 488.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.2123, allocations: 56.12 kB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008682/0.2132, allocations: 355.2 kB / 489.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.2136, allocations: 0.7128 MB / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.2137, allocations: 31.42 kB / 490 MB, free: 11.28 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2137, allocations: 0 / 490 MB, free: 11.28 MB / 366.1 MB Notification: Performance of Templates: time 0.00921/0.2229, allocations: 3.165 MB / 493.2 MB, free: 8.133 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches