Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.002654/0.002654, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.003038/0.003038, allocations: 156.8 kB / 24.27 MB, free: 156 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.609/1.609, allocations: 177 MB / 204.4 MB, free: 5.633 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.3409/0.3409, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.CombiTable1Dv.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.713e-05/3.898e-05, allocations: 8.219 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003702/0.003741, allocations: 1.603 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.00593, allocations: 1.262 MB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.005998, allocations: 8 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.006265, allocations: 23.84 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.006624, allocations: 83.48 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.00695, allocations: 115.6 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.007119, allocations: 67.83 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.007208, allocations: 4 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.007301, allocations: 39.89 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.007431, allocations: 23.92 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.007455, allocations: 8 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.007648, allocations: 103.7 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.007697, allocations: 7.984 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.007737, allocations: 19.92 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.008028, allocations: 135.6 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.008031, allocations: 3.938 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.008032, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.008037, allocations: 0 / 380.7 MB, free: 15.38 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006139/0.008651, allocations: 431.6 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.008696, allocations: 12.03 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.008766, allocations: 8.891 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.009001, allocations: 148.5 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.009012, allocations: 384 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.009034, allocations: 384 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.00922, allocations: 91.33 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.009234, allocations: 4.172 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.009244, allocations: 4.375 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.009247, allocations: 384 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.294e-05/0.00934, allocations: 23.86 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.009793, allocations: 283.8 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.01003, allocations: 47.16 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.01008, allocations: 27.55 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.0101, allocations: 4 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.01013, allocations: 33.39 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.01013, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005565/0.01069, allocations: 133.3 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.01075, allocations: 77.11 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.01096, allocations: 205.9 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.01098, allocations: 25.7 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.01108, allocations: 150.9 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.0111, allocations: 15.91 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.01115, allocations: 27.36 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.01141, allocations: 0.4884 MB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.948e-05/0.01147, allocations: 19.98 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.794e-05/0.01156, allocations: 57.06 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.01167, allocations: 39.86 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01167, allocations: 4 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001867/0.01186, allocations: 81.55 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.01187, allocations: 10.81 kB / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01188, allocations: 0 / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01189, allocations: 0 / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.01195, allocations: 11.98 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.01196, allocations: 0 / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/0.012, allocations: 4 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.01201, allocations: 0 / 383.2 MB, free: 12.7 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 (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.0001577/0.01216, allocations: 164.6 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.01221, allocations: 11.89 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.01244, allocations: 90.03 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01244, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.01244, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01245, allocations: 0 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.01294, allocations: 349.4 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01294, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.013, allocations: 15.92 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.013, allocations: 0 / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01301, allocations: 4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01302, allocations: 7.938 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01302, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.0133, allocations: 224.1 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.01332, allocations: 11.95 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.01334, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.01341, allocations: 4 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.01345, allocations: 3.984 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.01345, allocations: 4 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.01359, allocations: 155.2 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01359, allocations: 0 / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.0139, allocations: 43.86 kB / 384.2 MB, free: 11.56 MB / 362.7 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.003296/0.0172, allocations: 0.5152 MB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.0174, allocations: 43.67 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0174, allocations: 0 / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.6e-05/0.01747, allocations: 27.67 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.01779, allocations: 30.66 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.01826, allocations: 189.8 kB / 385 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.01835, allocations: 75.33 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.873e-05/0.01842, allocations: 19.97 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.01847, allocations: 16.48 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01847, allocations: 0 / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of Templates: time 0.005689/0.02416, allocations: 1.84 MB / 387 MB, free: 8.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.056765019078739]