Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 160.9 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3449/0.3449, allocations: 34.24 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.489e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003303/0.003338, allocations: 1.617 MB / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004521, allocations: 0.5448 MB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.758e-05/0.004578, allocations: 3.938 kB / 379.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.004889, allocations: 71.7 kB / 379.5 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.005209, allocations: 103.5 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.005534, allocations: 111.7 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.005723, allocations: 83.77 kB / 379.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.005825, allocations: 15.97 kB / 379.8 MB, free: 336 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.00591, allocations: 43.84 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.006016, allocations: 43.94 kB / 379.9 MB, free: 248 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.006035, allocations: 7.938 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.006137, allocations: 47.91 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.006192, allocations: 19.92 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.006231, allocations: 15.94 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.006435, allocations: 107.6 kB / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006437, allocations: 0 / 380.1 MB, free: 48 kB / 346.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006438, allocations: 4 kB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.006442, allocations: 0 / 380.1 MB, free: 44 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005543/0.006996, allocations: 329.8 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.00703, allocations: 8.031 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.007085, allocations: 16.89 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.007282, allocations: 145.5 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.007293, allocations: 4.375 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.007316, allocations: 384 / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.007469, allocations: 62.17 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.007479, allocations: 192 / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.007488, allocations: 4.375 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.007491, allocations: 384 / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.00759, allocations: 27.92 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.008002, allocations: 240.5 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.008129, allocations: 50.5 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.008185, allocations: 12.94 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.008205, allocations: 4 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.008241, allocations: 38.5 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.008242, allocations: 4 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009526/0.009195, allocations: 241.3 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.009245, allocations: 51.41 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.009489, allocations: 199.3 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.009511, allocations: 25.7 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.00961, allocations: 120 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.009639, allocations: 15.86 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.009685, allocations: 25.7 kB / 381.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.009879, allocations: 322.8 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.009969, allocations: 31.92 kB / 382 MB, free: 13.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.01005, allocations: 28.05 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.01024, allocations: 76.97 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.01024, allocations: 0 / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002634/0.0105, allocations: 133.4 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.01051, allocations: 4 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.01052, allocations: 0 / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01054, allocations: 4.422 kB / 382.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.01064, allocations: 19.92 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01065, allocations: 0 / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.0107, allocations: 8 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.01071, allocations: 4 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001205/0.01083, allocations: 129.8 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.01087, allocations: 19.89 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.01119, allocations: 135 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.0112, allocations: 4 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.0112, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.0112, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.01179, allocations: 358.8 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01179, allocations: 8.031 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.01186, allocations: 15.98 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01186, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01188, allocations: 8 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01188, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01188, allocations: 0 / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.0122, allocations: 220.2 kB / 383.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.01222, allocations: 7.953 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.01224, allocations: 3.984 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.451e-05/0.01231, allocations: 8 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.01236, allocations: 7.984 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.01237, allocations: 4 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.01253, allocations: 151.9 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01253, allocations: 0 / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.01278, allocations: 23.94 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002122/0.0149, allocations: 484.8 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.01515, allocations: 71.89 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01515, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01525, allocations: 39.97 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.01566, allocations: 23.48 kB / 384 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.01622, allocations: 269.5 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01634, allocations: 93.95 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.01641, allocations: 17.02 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.01645, allocations: 20.5 kB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01645, allocations: 4 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of Templates: time 0.004723/0.02117, allocations: 1.414 MB / 385.8 MB, free: 10.21 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.840287882951088]