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.001922/0.001922, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 209.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.837/1.837, allocations: 227.4 MB / 247.1 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3357/0.3357, allocations: 46.09 MB / 344.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 81.12 kB / 417.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2062, allocations: 62.44 MB / 480.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.006085/0.2124, allocations: 1.784 MB / 481.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.2155, allocations: 1.013 MB / 483 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.2156, allocations: 4 kB / 483 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.2161, allocations: 39.89 kB / 483 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005943/0.2168, allocations: 83.67 kB / 483.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.2172, allocations: 63.89 kB / 483.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.2176, allocations: 111.7 kB / 483.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2177, allocations: 4 kB / 483.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.2179, allocations: 47.73 kB / 483.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2181, allocations: 39.77 kB / 483.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.2181, allocations: 4 kB / 483.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.2183, allocations: 39.98 kB / 483.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.786e-05/0.2184, allocations: 19.92 kB / 483.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.2185, allocations: 43.73 kB / 483.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.2189, allocations: 88.11 kB / 483.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.2189, allocations: 4 kB / 483.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2189, allocations: 3.938 kB / 483.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2189, allocations: 0 / 483.5 MB, free: 2.18 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.000908/0.2198, allocations: 422.9 kB / 483.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.2199, allocations: 12.03 kB / 484 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.513e-05/0.22, allocations: 8.844 kB / 484 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.2205, allocations: 208 kB / 484.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.2205, allocations: 4.375 kB / 484.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2205, allocations: 12.12 kB / 484.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.2208, allocations: 53.66 kB / 484.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2208, allocations: 0 / 484.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.2208, allocations: 7.938 kB / 484.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2209, allocations: 4 kB / 484.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.221, allocations: 15.98 kB / 484.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.2216, allocations: 288.9 kB / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.2219, allocations: 62.66 kB / 484.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2221, allocations: 20.8 kB / 484.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.2221, allocations: 0 / 484.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003921/0.2225, allocations: 75.39 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.466e-06/0.2225, allocations: 0 / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009868/0.2235, allocations: 181 kB / 484.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.2236, allocations: 51.41 kB / 484.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.224, allocations: 210.9 kB / 485.1 MB, free: 392 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.2241, allocations: 33.64 kB / 485.2 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2242, allocations: 96.14 kB / 485.3 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.654e-05/0.2243, allocations: 23.7 kB / 485.3 MB, free: 228 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.2244, allocations: 29.72 kB / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.2246, allocations: 330.8 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.2248, allocations: 20 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2249, allocations: 33.7 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.2252, allocations: 69.64 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2252, allocations: 0 / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003798/0.2256, allocations: 109.4 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.2256, allocations: 10.34 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.2256, allocations: 0 / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.2257, allocations: 0 / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.2259, allocations: 15.98 kB / 485.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.2259, allocations: 4 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.094e-05/0.226, allocations: 3.938 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.226, allocations: 8 kB / 485.9 MB, free: 15.57 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.0001976/0.2262, allocations: 125.8 kB / 486 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.2263, allocations: 15.91 kB / 486 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.081e-05/0.2264, allocations: 17.39 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2264, allocations: 3.938 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.2264, allocations: 4 kB / 486.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2265, allocations: 3.938 kB / 486.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.2272, allocations: 395.3 kB / 486.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.2272, allocations: 7.922 kB / 486.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.2273, allocations: 12.03 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2273, allocations: 0 / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2273, allocations: 7.938 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2273, allocations: 0 / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2273, allocations: 0 / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.2278, allocations: 196.3 kB / 486.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.2279, allocations: 92.91 kB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.2279, allocations: 8.312 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.2281, allocations: 4 kB / 486.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.2282, allocations: 15.92 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.2282, allocations: 8 kB / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.2284, allocations: 152.5 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2285, allocations: 0 / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.2289, allocations: 27.94 kB / 487 MB, free: 14.39 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.002106/0.2311, allocations: 448.8 kB / 487.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.2314, allocations: 67.89 kB / 487.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.2314, allocations: 0 / 487.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2316, allocations: 27.98 kB / 487.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.2322, allocations: 42.92 kB / 487.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008555/0.2331, allocations: 296.9 kB / 487.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.2336, allocations: 0.708 MB / 488.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.2337, allocations: 15.44 kB / 488.6 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2337, allocations: 4 kB / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.00666/0.2404, allocations: 1.962 MB / 490.5 MB, free: 10.93 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