Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001832/0.001832, allocations: 109.2 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.002268/0.002268, 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 2.197/2.197, allocations: 227.4 MB / 246.9 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3261/0.3261, allocations: 46.11 MB / 344.3 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003141/0.003141, allocations: 76.5 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1879, allocations: 62.44 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.005915/0.1939, allocations: 1.803 MB / 481.7 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.1968, allocations: 1.025 MB / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.197, allocations: 0 / 482.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005036/0.1975, allocations: 83.77 kB / 482.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.1982, allocations: 103.7 kB / 483 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1986, allocations: 59.88 kB / 483 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003203/0.1989, allocations: 119.6 kB / 483.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1991, allocations: 15.98 kB / 483.1 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.1993, allocations: 43.78 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1995, allocations: 55.81 kB / 483.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.1995, allocations: 8 kB / 483.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.1998, allocations: 63.91 kB / 483.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.1999, allocations: 23.86 kB / 483.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.2, allocations: 39.72 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.2003, allocations: 108 kB / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.2004, allocations: 0 / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2004, allocations: 0 / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2004, allocations: 0 / 483.5 MB, free: 2.133 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.0009233/0.2013, allocations: 435 kB / 483.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/0.2014, allocations: 12.88 kB / 483.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109e-05/0.2015, allocations: 12.75 kB / 483.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.2019, allocations: 224.4 kB / 484.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.2019, allocations: 8.375 kB / 484.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.202, allocations: 8.125 kB / 484.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.2022, allocations: 53.67 kB / 484.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.2023, allocations: 4 kB / 484.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.2023, allocations: 0 / 484.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.2023, allocations: 3.984 kB / 484.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.2025, allocations: 23.98 kB / 484.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.2032, allocations: 312.7 kB / 484.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.2036, allocations: 58.55 kB / 484.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.575e-05/0.2037, allocations: 20.98 kB / 484.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.2037, allocations: 4 kB / 484.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.2041, allocations: 75.31 kB / 484.7 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.2041, allocations: 3.938 kB / 484.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001307/0.2054, allocations: 241 kB / 484.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.2055, allocations: 59.28 kB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.2058, allocations: 219.5 kB / 485.2 MB, free: 200 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.2059, allocations: 33.7 kB / 485.3 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.206, allocations: 108.1 kB / 485.4 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.2061, allocations: 35.55 kB / 485.4 MB, free: 12 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2062, allocations: 25.72 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2064, allocations: 326.8 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.2065, allocations: 28 kB / 485.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.2067, allocations: 49.56 kB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.207, allocations: 81.66 kB / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.207, allocations: 0 / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003794/0.2074, allocations: 129.5 kB / 486 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2074, allocations: 4 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2074, allocations: 4 kB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2075, allocations: 3.938 kB / 486 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2076, allocations: 23.98 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.2076, allocations: 7.938 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.2077, allocations: 0 / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.2078, allocations: 8.031 kB / 486.1 MB, free: 15.3 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 (13): * Single equations (assignments): 13 * 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.00017/0.2079, allocations: 133.8 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.208, allocations: 15.81 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.2081, allocations: 21.39 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2081, allocations: 4 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.2081, allocations: 3.938 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2081, allocations: 3.938 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008549/0.209, allocations: 452 kB / 486.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.209, allocations: 8 kB / 486.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.635e-05/0.2091, allocations: 19.94 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2092, allocations: 3.984 kB / 486.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.2092, allocations: 4 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.2092, allocations: 0 / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.2092, allocations: 3.938 kB / 486.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.2097, allocations: 229.1 kB / 487 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.2098, allocations: 92.91 kB / 487 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.2098, allocations: 8.094 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.21, allocations: 11.92 kB / 487.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.2101, allocations: 7.984 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.2101, allocations: 12 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.2103, allocations: 161.2 kB / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2103, allocations: 0 / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005318/0.2109, allocations: 31.98 kB / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002114/0.213, allocations: 496.5 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.2134, allocations: 79.91 kB / 487.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.2134, allocations: 0 / 487.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.2136, allocations: 43.98 kB / 487.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006554/0.2142, allocations: 38.84 kB / 487.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.2151, allocations: 336.3 kB / 488.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.2156, allocations: 0.7199 MB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.2157, allocations: 19.42 kB / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2157, allocations: 4 kB / 489 MB, free: 12.39 MB / 366.1 MB Notification: Performance of Templates: time 0.007347/0.223, allocations: 2.214 MB / 491.2 MB, free: 10.18 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches