Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.0009398/0.0009398, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001024/0.001024, allocations: 163.4 kB / 24.91 MB, free: 8.688 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.938/0.938, allocations: 177 MB / 205.2 MB, free: 5.465 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.2611/0.2611, allocations: 34.87 MB / 296.6 MB, free: 0.5195 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.154e-05, allocations: 4.141 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002187/0.002209, allocations: 1.663 MB / 327.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007253/0.002934, allocations: 0.533 MB / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.249e-05/0.002986, allocations: 0 / 328.1 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.003241, allocations: 75.7 kB / 328.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.003531, allocations: 107.5 kB / 328.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.003824, allocations: 103.6 kB / 328.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.003977, allocations: 84.5 kB / 328.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.38e-05/0.004061, allocations: 11.98 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.004129, allocations: 43.89 kB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.981e-05/0.004219, allocations: 47.88 kB / 328.6 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.004233, allocations: 4 kB / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.5e-05/0.004318, allocations: 51.84 kB / 328.6 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.172e-05/0.00436, allocations: 19.92 kB / 328.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.004382, allocations: 19.94 kB / 328.7 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.004516, allocations: 87.66 kB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.004519, allocations: 0 / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00452, allocations: 4 kB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.004523, allocations: 0 / 328.8 MB, free: 4.289 MB / 298.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.0003046/0.004828, allocations: 313.6 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.004858, allocations: 12.03 kB / 329.1 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.004884, allocations: 8.922 kB / 329.1 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.005005, allocations: 146.2 kB / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.005012, allocations: 384 / 329.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.005032, allocations: 8.375 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.79e-05/0.005109, allocations: 54.95 kB / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005117, allocations: 192 / 329.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.005124, allocations: 4.375 kB / 329.3 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.005129, allocations: 4.375 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.005151, allocations: 19.84 kB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.005339, allocations: 175 kB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.005383, allocations: 26.58 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.005658, allocations: 8.859 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.005674, allocations: 4.078 kB / 329.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.005694, allocations: 34.56 kB / 329.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005695, allocations: 4 kB / 329.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004138/0.006108, allocations: 145.4 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.006138, allocations: 55.41 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.006242, allocations: 177.8 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.006253, allocations: 33.7 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.006284, allocations: 100 kB / 330.1 MB, free: 2.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.006304, allocations: 19.81 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.006333, allocations: 25.69 kB / 330.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.194e-05/0.006405, allocations: 326.8 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.006416, allocations: 4 kB / 330.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.291e-05/0.006429, allocations: 8 kB / 330.5 MB, free: 2.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.006462, allocations: 32.81 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006462, allocations: 0 / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.376e-05/0.006526, allocations: 65.78 kB / 330.5 MB, free: 2.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.006536, allocations: 4 kB / 330.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.00654, allocations: 4 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.00655, allocations: 3.984 kB / 330.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.006605, allocations: 12 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006607, allocations: 4 kB / 330.6 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.006626, allocations: 7.922 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.00663, allocations: 4 kB / 330.6 MB, free: 2.305 MB / 298.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 4.943e-05/0.00668, allocations: 112.7 kB / 330.7 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.006698, allocations: 11.94 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.006791, allocations: 75.06 kB / 330.8 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.006794, allocations: 4 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.006795, allocations: 3.938 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.006797, allocations: 0 / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.007005, allocations: 255.5 kB / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007006, allocations: 0 / 331 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.007039, allocations: 15.98 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00704, allocations: 0 / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.007044, allocations: 0 / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007046, allocations: 4 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007047, allocations: 0 / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.145e-05/0.007128, allocations: 168.2 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.729e-06/0.007138, allocations: 11.91 kB / 331.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.007149, allocations: 3.984 kB / 331.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.00718, allocations: 4 kB / 331.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.109e-05/0.007201, allocations: 8.438 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.007205, allocations: 8 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.209e-05/0.007247, allocations: 44.16 kB / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007247, allocations: 0 / 331.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.007383, allocations: 23.98 kB / 331.3 MB, free: 1.496 MB / 298.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.001114/0.008497, allocations: 0.5624 MB / 331.9 MB, free: 1.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.008578, allocations: 36.77 kB / 331.9 MB, free: 1.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.008582, allocations: 4 kB / 331.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.206e-05/0.008604, allocations: 20.8 kB / 331.9 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.008754, allocations: 27.92 kB / 332 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.00904, allocations: 216 kB / 332.2 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.626e-05/0.009077, allocations: 75.38 kB / 332.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.269e-05/0.009109, allocations: 13.05 kB / 332.3 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.009157, allocations: 63.36 kB / 332.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.009158, allocations: 0 / 332.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of Templates: time 0.002906/0.01206, allocations: 1.508 MB / 333.8 MB, free: 15.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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: 2.9040073500946164]