Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.001694/0.001694, allocations: 115.1 kB / 20.44 MB, free: 1.344 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.001596/0.001596, allocations: 204.9 kB / 23.72 MB, free: 4.535 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.3451/0.3451, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.CombiTable1Ds.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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004064/0.004064, allocations: 83.88 kB / 0.4967 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.531/0.5351, allocations: 66.08 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003463/0.5385, allocations: 1.607 MB / 0.5628 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.5396, allocations: 0.5265 MB / 0.5633 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.5397, allocations: 0 / 0.5633 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.54, allocations: 79.72 kB / 0.5634 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.5403, allocations: 95.66 kB / 0.5634 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.5405, allocations: 91.69 kB / 0.5635 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.5407, allocations: 87.8 kB / 0.5636 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.5408, allocations: 14.61 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.5409, allocations: 31.91 kB / 0.5637 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.541, allocations: 55.81 kB / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.541, allocations: 0 / 0.5637 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.5411, allocations: 51.98 kB / 0.5638 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.5412, allocations: 23.86 kB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.5412, allocations: 23.8 kB / 0.5638 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.5414, allocations: 99.23 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.5414, allocations: 4 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5414, allocations: 4 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.5414, allocations: 0 / 0.5639 GB, free: 1.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004996/0.5419, allocations: 333.6 kB / 0.5642 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.542, allocations: 8.031 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.542, allocations: 12.84 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.5422, allocations: 154.2 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.5422, allocations: 8.375 kB / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.5423, allocations: 384 / 0.5644 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.5424, allocations: 50.23 kB / 0.5645 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.5424, allocations: 12.12 kB / 0.5645 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5424, allocations: 3.938 kB / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5424, allocations: 0 / 0.5645 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.384e-05/0.5425, allocations: 27.97 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.5429, allocations: 232.5 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.543, allocations: 46.5 kB / 0.5648 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.5431, allocations: 16.94 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5431, allocations: 4 kB / 0.5648 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.5431, allocations: 30.56 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5431, allocations: 0 / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009014/0.544, allocations: 233.2 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5441, allocations: 59.34 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.5443, allocations: 199.3 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5443, allocations: 29.7 kB / 0.5653 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.4e-05/0.5444, allocations: 100.1 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.5444, allocations: 31.73 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.5445, allocations: 21.72 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5446, allocations: 330.8 kB / 0.5658 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.5447, allocations: 23.98 kB / 0.5658 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.5448, allocations: 31.97 kB / 0.5658 GB, free: 15.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.5449, allocations: 56.83 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5449, allocations: 4 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002176/0.5451, allocations: 97.61 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5451, allocations: 4 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5452, allocations: 7.938 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5452, allocations: 0 / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.5453, allocations: 19.98 kB / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5453, allocations: 0 / 0.566 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.5453, allocations: 7.984 kB / 0.566 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.5453, allocations: 4 kB / 0.566 GB, free: 14.86 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 (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.0001192/0.5455, allocations: 125.8 kB / 0.5661 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.5455, allocations: 11.91 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.5458, allocations: 119 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5458, allocations: 0 / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.5458, allocations: 0 / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5458, allocations: 8.406 kB / 0.5663 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.5463, allocations: 342.9 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5463, allocations: 4 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.5464, allocations: 15.98 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5464, allocations: 0 / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5464, allocations: 4 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.5464, allocations: 4.453 kB / 0.5666 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.5464, allocations: 11.86 kB / 0.5666 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.5467, allocations: 208.2 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.5467, allocations: 15.88 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.5467, allocations: 4 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.5468, allocations: 4 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.5468, allocations: 11.92 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.5468, allocations: 4 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.547, allocations: 152.9 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.547, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.5472, allocations: 23.94 kB / 0.567 GB, free: 13.72 MB / 414.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: 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.001861/0.5491, allocations: 479.5 kB / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.5493, allocations: 63.89 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5493, allocations: 4 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.751e-05/0.5494, allocations: 35.92 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.5498, allocations: 23.3 kB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.5504, allocations: 251.2 kB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.5505, allocations: 96.11 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.39e-05/0.5505, allocations: 17.03 kB / 0.568 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.5506, allocations: 11.44 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5506, allocations: 0 / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of Templates: time 0.004757/0.5553, allocations: 1.42 MB / 0.5694 GB, free: 11.48 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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: 5.537328757345676]