Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001843/0.001843, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.002203/0.002203, allocations: 213.6 kB / 23 MB, free: 5.574 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.504/1.504, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.2591/0.2591, allocations: 46.91 MB / 359.4 MB, free: 4.848 MB / 286.1 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 75.88 kB / 0.4947 GB, free: 8.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.386, allocations: 65.98 MB / 0.5591 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003008/0.389, allocations: 1.628 MB / 0.5607 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.39, allocations: 0.5576 MB / 0.5612 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.39, allocations: 0 / 0.5612 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.3902, allocations: 19.86 kB / 0.5612 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.3905, allocations: 87.61 kB / 0.5613 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.3908, allocations: 110.7 kB / 0.5614 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3909, allocations: 63.89 kB / 0.5615 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.391, allocations: 7.938 kB / 0.5615 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.3911, allocations: 19.92 kB / 0.5615 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.043e-05/0.3911, allocations: 31.78 kB / 0.5616 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3911, allocations: 0 / 0.5616 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.3912, allocations: 36 kB / 0.5616 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.3912, allocations: 15.92 kB / 0.5616 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.3913, allocations: 19.88 kB / 0.5616 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3914, allocations: 89.97 kB / 0.5617 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.3915, allocations: 0 / 0.5617 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3915, allocations: 0 / 0.5617 GB, free: 2.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3915, allocations: 0 / 0.5617 GB, free: 2.352 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.0004919/0.392, allocations: 385.7 kB / 0.5621 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.392, allocations: 15.97 kB / 0.5621 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.392, allocations: 12.89 kB / 0.5621 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3922, allocations: 182.5 kB / 0.5623 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3922, allocations: 8.375 kB / 0.5623 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3923, allocations: 8.359 kB / 0.5623 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3924, allocations: 42.25 kB / 0.5623 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3924, allocations: 192 / 0.5623 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3924, allocations: 7.938 kB / 0.5623 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3924, allocations: 0 / 0.5623 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.3925, allocations: 23.97 kB / 0.5624 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.3929, allocations: 292.8 kB / 0.5626 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3931, allocations: 46.44 kB / 0.5627 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.3932, allocations: 16.94 kB / 0.5627 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.3932, allocations: 7.984 kB / 0.5627 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3932, allocations: 30.56 kB / 0.5627 GB, free: 1.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3932, allocations: 4 kB / 0.5627 GB, free: 1.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005367/0.3938, allocations: 149.4 kB / 0.5629 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3938, allocations: 59.34 kB / 0.5629 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.394, allocations: 146.1 kB / 0.5631 GB, free: 0.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.394, allocations: 29.7 kB / 0.5631 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.394, allocations: 88.14 kB / 0.5632 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.3941, allocations: 31.72 kB / 0.5632 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3941, allocations: 21.72 kB / 0.5632 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3942, allocations: 326.8 kB / 0.5636 GB, free: 244 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.3943, allocations: 19.98 kB / 0.5636 GB, free: 224 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.596e-05/0.3944, allocations: 19.98 kB / 0.5636 GB, free: 204 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3945, allocations: 48.83 kB / 0.5636 GB, free: 152 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3945, allocations: 0 / 0.5636 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001792/0.3947, allocations: 93.8 kB / 0.5637 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3947, allocations: 4 kB / 0.5637 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3947, allocations: 0 / 0.5637 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3947, allocations: 0 / 0.5637 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.3948, allocations: 19.92 kB / 0.5638 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3948, allocations: 0 / 0.5638 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.3948, allocations: 8 kB / 0.5638 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3948, allocations: 3.984 kB / 0.5638 GB, free: 16 kB / 398.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 0.0001092/0.3949, allocations: 121.8 kB / 0.5639 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.395, allocations: 7.953 kB / 0.5639 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3952, allocations: 97.95 kB / 0.564 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3952, allocations: 0 / 0.564 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3952, allocations: 0 / 0.564 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3952, allocations: 0 / 0.564 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.3957, allocations: 362.4 kB / 0.5643 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3957, allocations: 0 / 0.5643 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.3957, allocations: 11.98 kB / 0.5643 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3957, allocations: 0 / 0.5643 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.3957, allocations: 7.938 kB / 0.5643 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3957, allocations: 3.984 kB / 0.5644 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3957, allocations: 0 / 0.5644 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.396, allocations: 195.3 kB / 0.5645 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.396, allocations: 81.06 kB / 0.5646 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.3961, allocations: 256 / 0.5646 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.3961, allocations: 4 kB / 0.5646 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.3962, allocations: 15.92 kB / 0.5646 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3962, allocations: 0 / 0.5646 GB, free: 15.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.285e-05/0.3963, allocations: 121.7 kB / 0.5648 GB, free: 14.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3963, allocations: 0 / 0.5648 GB, free: 14.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000232/0.3965, allocations: 15.94 kB / 0.5648 GB, free: 14.88 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.001408/0.3979, allocations: 401.3 kB / 0.5651 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3981, allocations: 51.91 kB / 0.5652 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3981, allocations: 0 / 0.5652 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.3982, allocations: 27.97 kB / 0.5652 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.3985, allocations: 19.08 kB / 0.5652 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.399, allocations: 198 kB / 0.5654 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3993, allocations: 0.6962 MB / 0.5661 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.15e-05/0.3993, allocations: 16.02 kB / 0.5661 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.3994, allocations: 11.44 kB / 0.5661 GB, free: 13.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3994, allocations: 0 / 0.5661 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Templates: time 0.003673/0.403, allocations: 1.154 MB / 0.5673 GB, free: 12.4 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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: 5.314310655929148]