Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001742/0.001742, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.002148/0.002148, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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.377/1.377, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 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.2093/0.2093, allocations: 46.89 MB / 361.3 MB, free: 4.434 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 75.88 kB / 0.4971 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.266, allocations: 66.02 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002794/0.2688, allocations: 1.635 MB / 0.5631 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.2698, allocations: 0.542 MB / 0.5637 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.2698, allocations: 7.938 kB / 0.5637 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.27, allocations: 23.84 kB / 0.5637 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.2702, allocations: 75.62 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.2705, allocations: 98.88 kB / 0.5639 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.2706, allocations: 63.84 kB / 0.5639 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.463e-05/0.2707, allocations: 15.64 kB / 0.5639 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.263e-05/0.2707, allocations: 23.86 kB / 0.564 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.607e-05/0.2708, allocations: 27.8 kB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.2708, allocations: 0 / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.65e-05/0.2709, allocations: 31.98 kB / 0.564 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.271, allocations: 19.92 kB / 0.564 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.271, allocations: 23.81 kB / 0.5641 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.2711, allocations: 78.53 kB / 0.5641 GB, free: 1.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2711, allocations: 0 / 0.5641 GB, free: 1.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2712, allocations: 4 kB / 0.5641 GB, free: 1.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2712, allocations: 0 / 0.5641 GB, free: 1.965 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004347/0.2716, allocations: 317.8 kB / 0.5644 GB, free: 1.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2716, allocations: 8.031 kB / 0.5644 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.2717, allocations: 8.891 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.2718, allocations: 141.1 kB / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2718, allocations: 384 / 0.5646 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2719, allocations: 4.375 kB / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.272, allocations: 54.23 kB / 0.5646 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.272, allocations: 192 / 0.5646 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.272, allocations: 3.938 kB / 0.5646 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.272, allocations: 0 / 0.5646 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.116e-05/0.2721, allocations: 23.98 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.2724, allocations: 243.9 kB / 0.5649 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.2726, allocations: 46.5 kB / 0.5649 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.2727, allocations: 20.94 kB / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.2727, allocations: 0 / 0.565 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.2727, allocations: 30.56 kB / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2727, allocations: 0 / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005333/0.2733, allocations: 149.4 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.2733, allocations: 59.39 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2735, allocations: 161.3 kB / 0.5654 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2735, allocations: 25.7 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2735, allocations: 100.1 kB / 0.5655 GB, free: 448 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.2736, allocations: 19.86 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.2736, allocations: 21.7 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2737, allocations: 326.7 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.781e-05/0.2738, allocations: 19.98 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.2738, allocations: 19.98 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.274, allocations: 44.84 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.274, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001803/0.2742, allocations: 85.73 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2742, allocations: 8 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2742, allocations: 4 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2742, allocations: 0 / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.2743, allocations: 15.92 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2743, allocations: 4 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.627e-05/0.2743, allocations: 0 / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2743, allocations: 4 kB / 0.566 GB, free: 15.85 MB / 414.1 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 (5): * Single equations (assignments): 5 * 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 9.631e-05/0.2744, allocations: 131 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.2745, allocations: 7.953 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.2747, allocations: 90.06 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2747, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2747, allocations: 0 / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2747, allocations: 4.281 kB / 0.5662 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.2751, allocations: 321.5 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2751, allocations: 0 / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.2752, allocations: 8 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2752, allocations: 11.98 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2752, allocations: 0 / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2752, allocations: 3.938 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2752, allocations: 3.984 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.2754, allocations: 175.4 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.2754, allocations: 7.953 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2754, allocations: 4.25 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.2755, allocations: 15.92 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.2755, allocations: 4 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2756, allocations: 4 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.747e-05/0.2757, allocations: 123.2 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2757, allocations: 0 / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.2759, allocations: 19.94 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001392/0.2773, allocations: 400.3 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.2775, allocations: 51.91 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2775, allocations: 0 / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.2776, allocations: 23.98 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.2779, allocations: 14.48 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.2783, allocations: 190.1 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.2786, allocations: 0.7031 MB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.112e-05/0.2786, allocations: 16 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.2786, allocations: 11.44 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2786, allocations: 0 / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Templates: time 0.003814/0.2825, allocations: 1.147 MB / 0.5694 GB, free: 12.39 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.615007208660245]