Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 117 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001862/0.001862, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 74.75 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2047, allocations: 62.46 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003971/0.2088, allocations: 1.777 MB / 481.3 MB, free: 3.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2104, allocations: 1.013 MB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.385e-05/0.2105, allocations: 0 / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.2109, allocations: 51.88 kB / 482.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003861/0.2113, allocations: 83.67 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.2116, allocations: 67.88 kB / 482.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.2119, allocations: 103.7 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.212, allocations: 23.97 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2121, allocations: 43.73 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.15e-05/0.2122, allocations: 39.78 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2122, allocations: 4 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.2124, allocations: 39.98 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.678e-05/0.2124, allocations: 27.91 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.059e-05/0.2125, allocations: 47.61 kB / 482.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.2127, allocations: 139.8 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2127, allocations: 4 kB / 483 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2128, allocations: 0 / 483 MB, free: 2.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2128, allocations: 0 / 483 MB, free: 2.129 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.0006285/0.2134, allocations: 446.7 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2134, allocations: 8.031 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.75e-05/0.2135, allocations: 12.84 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2138, allocations: 220.9 kB / 483.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2138, allocations: 8.375 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.2138, allocations: 4.125 kB / 483.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.214, allocations: 61.61 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.214, allocations: 0 / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.214, allocations: 4 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.214, allocations: 0 / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.2141, allocations: 15.98 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.2145, allocations: 296.9 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.2147, allocations: 62.62 kB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.452e-05/0.2148, allocations: 20.84 kB / 484.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2148, allocations: 0 / 484.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.215, allocations: 71.33 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.015e-06/0.215, allocations: 0 / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005336/0.2155, allocations: 192.9 kB / 484.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.2156, allocations: 63.39 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.2159, allocations: 267 kB / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2159, allocations: 29.7 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.216, allocations: 112.1 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.216, allocations: 19.72 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.2161, allocations: 21.72 kB / 484.8 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2162, allocations: 334.8 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.186e-05/0.2163, allocations: 31.92 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.2163, allocations: 33.72 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2165, allocations: 53.7 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2165, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.2166, allocations: 109.4 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2167, allocations: 6.969 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2167, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.2167, allocations: 8.031 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.2168, allocations: 12 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2168, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.2168, allocations: 15.86 kB / 485.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2169, allocations: 0 / 485.4 MB, free: 15.4 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.0001159/0.217, allocations: 137.8 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.217, allocations: 16.19 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.2171, allocations: 25.39 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2171, allocations: 4 kB / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2171, allocations: 0 / 485.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2171, allocations: 11.94 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.2176, allocations: 403.3 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2176, allocations: 3.984 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.2176, allocations: 8 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2176, allocations: 0 / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2176, allocations: 7.938 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2176, allocations: 4.031 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2176, allocations: 0 / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.2179, allocations: 212.1 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.2179, allocations: 89.11 kB / 486.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.218, allocations: 7.938 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.218, allocations: 7.875 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.2181, allocations: 15.98 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2181, allocations: 4 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.2183, allocations: 204.4 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2183, allocations: 0 / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.2185, allocations: 23.98 kB / 486.6 MB, free: 14.14 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.001001/0.2195, allocations: 455 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.2197, allocations: 59.91 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2197, allocations: 4 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.2198, allocations: 27.94 kB / 487.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.2202, allocations: 32.28 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.2207, allocations: 319.8 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.221, allocations: 0.7236 MB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.503e-05/0.221, allocations: 12.88 kB / 488.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.2211, allocations: 19.38 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2211, allocations: 0 / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of Templates: time 0.004847/0.2259, allocations: 1.748 MB / 490 MB, free: 10.87 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches