Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001451/0.001451, allocations: 83.67 kB / 21.7 MB, free: 2.848 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.0016/0.0016, allocations: 159.8 kB / 24.99 MB, free: 8.844 MB / 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 0.947/0.947, allocations: 177 MB / 205.2 MB, free: 5.203 MB / 186.7 MB " [Timeout remaining time 179] 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.2433/0.2433, allocations: 34.85 MB / 296.6 MB, free: 0.5352 MB / 266.7 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.269e-05/3.461e-05, allocations: 2.312 kB / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002617/0.002652, allocations: 1.652 MB / 380.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.003518, allocations: 0.533 MB / 381 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.003595, allocations: 0 / 381 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.003905, allocations: 115.6 kB / 381.1 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.004223, allocations: 123.5 kB / 381.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.004472, allocations: 91.69 kB / 381.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.004645, allocations: 99.56 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.004743, allocations: 7.984 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.00482, allocations: 47.89 kB / 381.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.004922, allocations: 67.84 kB / 381.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.004936, allocations: 4 kB / 381.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.005021, allocations: 51.91 kB / 381.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.005068, allocations: 27.92 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.005098, allocations: 19.88 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.005262, allocations: 95.59 kB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.005266, allocations: 0 / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.005267, allocations: 0 / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.005271, allocations: 0 / 381.7 MB, free: 15.44 MB / 362.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.0004084/0.00568, allocations: 459.8 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.005715, allocations: 8.031 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.00576, allocations: 16.84 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.005901, allocations: 149.2 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.00591, allocations: 384 / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.005932, allocations: 12.38 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.00605, allocations: 58.88 kB / 382.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.00606, allocations: 4.188 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.00607, allocations: 4.375 kB / 382.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.006078, allocations: 4.359 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.006109, allocations: 15.92 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.006387, allocations: 299.7 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.943e-05/0.006447, allocations: 43 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.006468, allocations: 15.77 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.006484, allocations: 0 / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.006504, allocations: 41.33 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.32e-07/0.006505, allocations: 0 / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005221/0.007027, allocations: 181.2 kB / 383 MB, free: 14.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.007062, allocations: 51.41 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.007212, allocations: 267 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-06/0.007222, allocations: 29.7 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.00728, allocations: 158.9 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.007304, allocations: 23.75 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.007333, allocations: 31.38 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.00745, allocations: 0.504 MB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.007477, allocations: 8 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.0075, allocations: 8 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.007549, allocations: 39.73 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.007549, allocations: 0 / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.355e-05/0.007643, allocations: 81.53 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007655, allocations: 7.938 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.00766, allocations: 0 / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.007672, allocations: 3.938 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.007746, allocations: 23.98 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.007751, allocations: 320 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.007768, allocations: 0 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.007774, allocations: 4 kB / 384.2 MB, free: 12.71 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 6.445e-05/0.007838, allocations: 156.6 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.007862, allocations: 19.84 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.007996, allocations: 99.05 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.007998, allocations: 0 / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.008002, allocations: 0 / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.008004, allocations: 0 / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.008298, allocations: 392.9 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.0083, allocations: 0 / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.00834, allocations: 15.98 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.008342, allocations: 4 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.008349, allocations: 0 / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.00835, allocations: 0 / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.008353, allocations: 4 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.008475, allocations: 239.4 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.008485, allocations: 11.91 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.008499, allocations: 7.984 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.439e-05/0.008533, allocations: 12.45 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/0.008562, allocations: 7.984 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.008565, allocations: 0 / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.008652, allocations: 183.2 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008652, allocations: 0 / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.00882, allocations: 23.92 kB / 385.4 MB, free: 11.48 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.0009499/0.00977, allocations: 434.4 kB / 385.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.009882, allocations: 51.58 kB / 385.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.009884, allocations: 4 kB / 385.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.009931, allocations: 31.61 kB / 385.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.01016, allocations: 19.98 kB / 385.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.01052, allocations: 245.6 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.01055, allocations: 67.33 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.01059, allocations: 12.72 kB / 386.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.01061, allocations: 20.56 kB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01061, allocations: 0 / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of Templates: time 0.003187/0.0138, allocations: 1.392 MB / 387.6 MB, free: 9.293 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.168942022137344]