Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001848, allocations: 111 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002349/0.002349, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.766/1.766, allocations: 227.4 MB / 246.9 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4035/0.4035, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 77.5 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1917, allocations: 62.45 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004484/0.1963, allocations: 1.793 MB / 481.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.1987, allocations: 1.021 MB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1989, allocations: 0 / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.1993, allocations: 43.83 kB / 482.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.1998, allocations: 83.67 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.2001, allocations: 55.89 kB / 482.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.2004, allocations: 107.7 kB / 483 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2005, allocations: 4 kB / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2007, allocations: 39.73 kB / 483.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2008, allocations: 39.77 kB / 483.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.2008, allocations: 4 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.201, allocations: 39.98 kB / 483.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.2011, allocations: 19.92 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.2012, allocations: 39.67 kB / 483.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.2014, allocations: 92.11 kB / 483.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.2015, allocations: 4 kB / 483.3 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2015, allocations: 3.938 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2015, allocations: 0 / 483.3 MB, free: 2.289 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007779/0.2023, allocations: 423 kB / 483.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.2024, allocations: 8.875 kB / 483.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.883e-05/0.2024, allocations: 8.844 kB / 483.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.2028, allocations: 208 kB / 484 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2028, allocations: 4.375 kB / 484 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.2029, allocations: 12.12 kB / 484 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.2031, allocations: 53.61 kB / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.2031, allocations: 0 / 484 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.2031, allocations: 8 kB / 484 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.2032, allocations: 3.984 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.2033, allocations: 12 kB / 484 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.2038, allocations: 288.9 kB / 484.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2041, allocations: 62.62 kB / 484.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.2042, allocations: 20.84 kB / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.2043, allocations: 0 / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.2046, allocations: 71.38 kB / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.555e-06/0.2046, allocations: 0 / 484.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008915/0.2055, allocations: 185 kB / 484.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.2056, allocations: 51.41 kB / 484.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.2059, allocations: 210.8 kB / 484.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.206, allocations: 33.69 kB / 484.9 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.331e-05/0.2061, allocations: 100.1 kB / 485 MB, free: 368 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.323e-05/0.2062, allocations: 23.7 kB / 485.1 MB, free: 344 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.2062, allocations: 25.66 kB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2064, allocations: 330.8 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.2065, allocations: 23.98 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2067, allocations: 37.64 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.2069, allocations: 61.77 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2069, allocations: 0 / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000371/0.2073, allocations: 105.4 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.2074, allocations: 12.03 kB / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2074, allocations: 0 / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2074, allocations: 0 / 485.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.2076, allocations: 15.98 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2076, allocations: 4 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.2077, allocations: 3.938 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2078, allocations: 8 kB / 485.7 MB, free: 15.69 MB / 366.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.0001738/0.2079, allocations: 137.7 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.208, allocations: 7.906 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.2081, allocations: 21.39 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.2081, allocations: 4 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2081, allocations: 0 / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2082, allocations: 3.938 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.2089, allocations: 399.2 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2089, allocations: 0 / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.209, allocations: 11.98 kB / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.209, allocations: 0 / 486.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.2091, allocations: 11.97 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2091, allocations: 0 / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2091, allocations: 0 / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.2095, allocations: 200.2 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.2096, allocations: 88.92 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.2097, allocations: 11.92 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.2098, allocations: 4.375 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.2099, allocations: 8 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.2099, allocations: 15.92 kB / 486.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.2102, allocations: 152.3 kB / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2102, allocations: 0 / 486.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004971/0.2107, allocations: 24 kB / 486.8 MB, free: 14.5 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: 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.002025/0.2127, allocations: 446.9 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.2131, allocations: 63.91 kB / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2131, allocations: 0 / 487.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2133, allocations: 28.14 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.2139, allocations: 24.25 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008571/0.2148, allocations: 310.3 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.2152, allocations: 0.7082 MB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.659e-05/0.2153, allocations: 19.44 kB / 488.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2154, allocations: 4 kB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.006163/0.2215, allocations: 1.952 MB / 490.3 MB, free: 11.06 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches