Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001904/0.001904, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.00233/0.00233, allocations: 156.9 kB / 24.27 MB, free: 172 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.565/1.565, allocations: 177 MB / 204.5 MB, free: 5.605 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.3788/0.3788, allocations: 34.24 MB / 295.2 MB, free: 0.6719 MB / 266.7 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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.709e-05, allocations: 4.703 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.004168/0.004205, allocations: 1.607 MB / 378.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.006813, allocations: 1.25 MB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.006896, allocations: 0 / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.00718, allocations: 19.84 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.007631, allocations: 91.55 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.007981, allocations: 95.58 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.008172, allocations: 67.83 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.008283, allocations: 11.98 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.774e-05/0.00838, allocations: 35.8 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.008529, allocations: 23.95 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.008555, allocations: 4 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.008793, allocations: 95.81 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.008853, allocations: 8 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.008899, allocations: 19.91 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.00923, allocations: 147.5 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.009237, allocations: 4 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.009238, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.009244, allocations: 0 / 380.7 MB, free: 15.41 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.000623/0.009867, allocations: 317.7 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.00992, allocations: 12.03 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.009981, allocations: 8.891 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.01021, allocations: 133.6 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.01023, allocations: 8.375 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.01026, allocations: 384 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.01046, allocations: 93.61 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01048, allocations: 4.188 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.01049, allocations: 4.359 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.0105, allocations: 384 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.0106, allocations: 23.92 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.01101, allocations: 220.5 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.01125, allocations: 46.5 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.01131, allocations: 12.94 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.01133, allocations: 8 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.01137, allocations: 30.56 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.01137, allocations: 0 / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006537/0.01203, allocations: 149.3 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.0121, allocations: 81.11 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.01229, allocations: 152.3 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01231, allocations: 25.7 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.01239, allocations: 92.14 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.01241, allocations: 15.89 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.01246, allocations: 17.72 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.01264, allocations: 318.8 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.492e-05/0.01274, allocations: 23.97 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.01284, allocations: 55.41 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.01298, allocations: 52.77 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.01298, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002134/0.0132, allocations: 89.78 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01321, allocations: 4 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01322, allocations: 0 / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.01324, allocations: 4 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.954e-05/0.01331, allocations: 11.98 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01332, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.01337, allocations: 7.938 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.01338, allocations: 0 / 382.7 MB, free: 13.22 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.0001175/0.01349, allocations: 121.8 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.01354, allocations: 23.89 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.01382, allocations: 86.08 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.01382, allocations: 4.281 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.01383, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01383, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.01431, allocations: 294.1 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.01431, allocations: 3.984 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.01438, allocations: 16 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01438, allocations: 3.938 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.01438, allocations: 0 / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01439, allocations: 4 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01439, allocations: 0 / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.01469, allocations: 179.4 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.01471, allocations: 7.953 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.01473, allocations: 256 / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.01481, allocations: 15.92 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.01485, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.01485, allocations: 12 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.01497, allocations: 111.2 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01497, allocations: 0 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.01529, allocations: 43.86 kB / 383.6 MB, free: 12.25 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.002294/0.01758, allocations: 0.5041 MB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.01781, allocations: 47.95 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01781, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.0179, allocations: 31.92 kB / 384.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.01829, allocations: 22.73 kB / 384.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.01881, allocations: 180.3 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.537e-05/0.0189, allocations: 67.34 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.186e-05/0.01896, allocations: 15.97 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.01902, allocations: 24.48 kB / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01902, allocations: 0 / 384.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.005456/0.02447, allocations: 1.826 MB / 386.3 MB, free: 9.668 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test19.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.919804348028265]