Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001318/0.001318, allocations: 83.16 kB / 20.68 MB, free: 1.039 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.001476/0.001476, allocations: 157.5 kB / 23.95 MB, free: 4.168 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.458/1.458, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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.2205/0.2205, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 442.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.195e-05/4.386e-05, allocations: 4.953 kB / 442.7 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.005509/0.005553, allocations: 1.599 MB / 444.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.007618, allocations: 0.5176 MB / 444.8 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.007715, allocations: 4 kB / 444.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.008015, allocations: 19.84 kB / 444.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.008556, allocations: 79.56 kB / 444.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.009064, allocations: 98.88 kB / 445 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.009314, allocations: 67.78 kB / 445.1 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.009444, allocations: 11.84 kB / 445.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.009558, allocations: 23.92 kB / 445.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.009663, allocations: 27.84 kB / 445.1 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.009693, allocations: 8 kB / 445.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.009828, allocations: 31.92 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.009903, allocations: 11.94 kB / 445.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.009953, allocations: 15.97 kB / 445.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.01024, allocations: 71.73 kB / 445.2 MB, free: 2.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.01025, allocations: 4 kB / 445.3 MB, free: 2.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.01025, allocations: 3.938 kB / 445.3 MB, free: 2.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.01026, allocations: 3.938 kB / 445.3 MB, free: 2.695 MB / 366.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.000785/0.01104, allocations: 301.9 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.01109, allocations: 8.031 kB / 445.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.01116, allocations: 12.89 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.01147, allocations: 141.5 kB / 445.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.01149, allocations: 384 / 445.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.01152, allocations: 8.359 kB / 445.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.01175, allocations: 46.25 kB / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.01177, allocations: 192 / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.01178, allocations: 384 / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.01179, allocations: 384 / 445.8 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.01197, allocations: 27.92 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.01249, allocations: 224.6 kB / 446 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.01285, allocations: 42.5 kB / 446.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.01294, allocations: 16.94 kB / 446.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.01298, allocations: 0 / 446.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.01302, allocations: 34.56 kB / 446.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.01303, allocations: 0 / 446.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009906/0.01402, allocations: 145.3 kB / 446.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.01409, allocations: 63.39 kB / 446.3 MB, free: 1.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.01438, allocations: 146.2 kB / 446.5 MB, free: 1.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.01441, allocations: 25.7 kB / 446.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01451, allocations: 96.12 kB / 446.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.01455, allocations: 15.86 kB / 446.6 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.01463, allocations: 21.66 kB / 446.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.01487, allocations: 318.8 kB / 446.9 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.015, allocations: 19.98 kB / 446.9 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.01511, allocations: 19.98 kB / 447 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.01535, allocations: 52.77 kB / 447 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.01535, allocations: 0 / 447 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003774/0.01572, allocations: 85.84 kB / 447.1 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.01575, allocations: 4 kB / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01576, allocations: 0 / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.01578, allocations: 0 / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.0159, allocations: 15.98 kB / 447.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.01591, allocations: 0 / 447.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.005e-05/0.01599, allocations: 11.97 kB / 447.1 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.016, allocations: 4 kB / 447.1 MB, free: 0.6445 MB / 366.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.0001621/0.01616, allocations: 117.8 kB / 447.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.01623, allocations: 11.89 kB / 447.3 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.01666, allocations: 98.05 kB / 447.4 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01666, allocations: 0 / 447.4 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01667, allocations: 4.25 kB / 447.4 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01667, allocations: 0 / 447.4 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/0.01739, allocations: 302.1 kB / 447.7 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.01739, allocations: 3.984 kB / 447.7 MB, free: 64 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.0175, allocations: 12 kB / 447.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.0175, allocations: 0 / 447.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01751, allocations: 0 / 447.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01752, allocations: 0 / 447.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01752, allocations: 0 / 447.7 MB, free: 52 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.214/0.2315, allocations: 173.7 kB / 447.8 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.2316, allocations: 8.719 kB / 447.8 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.2316, allocations: 5.062 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.2317, allocations: 5.406 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2317, allocations: 9.281 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.2317, allocations: 6.156 kB / 447.9 MB, free: 18.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.2319, allocations: 119.3 kB / 448 MB, free: 18.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2319, allocations: 0 / 448 MB, free: 18.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.2322, allocations: 10.14 kB / 448 MB, free: 18.87 MB / 366.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.001666/0.2338, allocations: 414.2 kB / 448.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.2341, allocations: 50.22 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2341, allocations: 0 / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.442e-05/0.2341, allocations: 23.73 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.2345, allocations: 13.52 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.235, allocations: 181.2 kB / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.176e-05/0.235, allocations: 79 kB / 448.7 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.2351, allocations: 11.83 kB / 448.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.2351, allocations: 19.33 kB / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2351, allocations: 0 / 448.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004196/0.2393, allocations: 1.151 MB / 449.9 MB, free: 18.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.8731896579265594]