Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001201/0.001201, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001427/0.001427, allocations: 160.5 kB / 24.55 MB, free: 20 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.044/1.044, allocations: 177 MB / 204.8 MB, free: 5.551 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.3128/0.3128, allocations: 34.87 MB / 296.3 MB, free: 0.5273 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.137e-05, allocations: 6.25 kB / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.006139/0.00617, allocations: 1.72 MB / 380.5 MB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.007348, allocations: 0.5562 MB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.007412, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.007658, allocations: 51.75 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.007953, allocations: 95.47 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.008244, allocations: 131.6 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.008395, allocations: 83.77 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.0085, allocations: 20.2 kB / 381.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.296e-05/0.008572, allocations: 43.84 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.008661, allocations: 39.94 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.008675, allocations: 7.938 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.143e-05/0.008767, allocations: 47.92 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.008836, allocations: 23.91 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.008865, allocations: 19.92 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.009039, allocations: 91.66 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.009043, allocations: 0 / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.009045, allocations: 4 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.009057, allocations: 0 / 381.7 MB, free: 15.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000408/0.009465, allocations: 432 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.009502, allocations: 12.03 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.009542, allocations: 12.84 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.009671, allocations: 148.9 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.00968, allocations: 4.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.009703, allocations: 4.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.009821, allocations: 70.94 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.009831, allocations: 192 / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.009841, allocations: 12.12 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.009848, allocations: 3.938 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.009887, allocations: 19.91 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.0102, allocations: 291.7 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.01039, allocations: 55.02 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.01042, allocations: 19.81 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.01045, allocations: 4 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01047, allocations: 37.38 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.01047, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006393/0.01111, allocations: 229.3 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.01115, allocations: 55.41 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.01128, allocations: 215.1 kB / 383.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.0113, allocations: 29.7 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.01136, allocations: 158.8 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.0114, allocations: 39.67 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.01143, allocations: 31.38 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01156, allocations: 0.5 MB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.01159, allocations: 11.98 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.01162, allocations: 23.92 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.055e-05/0.01168, allocations: 39.69 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01168, allocations: 0 / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001083/0.01178, allocations: 89.59 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.0118, allocations: 11.98 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01181, allocations: 0 / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.01182, allocations: 3.938 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.01188, allocations: 24.55 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01189, allocations: 7.938 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.01191, allocations: 4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.01192, allocations: 8 kB / 384.3 MB, free: 12.32 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 (11): * Single equations (assignments): 11 * 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 8.126e-05/0.012, allocations: 156.5 kB / 384.4 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.01203, allocations: 19.94 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.0122, allocations: 106.8 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.0122, allocations: 4 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.01221, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01221, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.01256, allocations: 412.6 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01256, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.01261, allocations: 23.98 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01262, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01263, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.01263, allocations: 7.922 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01263, allocations: 3.938 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.0128, allocations: 259.2 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.01282, allocations: 15.89 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.01283, allocations: 8.062 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.01288, allocations: 11.94 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.01292, allocations: 7.984 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.01293, allocations: 4 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.482e-05/0.013, allocations: 157.6 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.013, allocations: 0 / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001811/0.01318, allocations: 27.94 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009639/0.01415, allocations: 440.9 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01428, allocations: 55.67 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01428, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/0.01433, allocations: 47.53 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.01456, allocations: 23.08 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.01502, allocations: 249.6 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.383e-05/0.01507, allocations: 71.33 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.01511, allocations: 12.62 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.01516, allocations: 20.48 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01516, allocations: 0 / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.003444/0.0186, allocations: 1.588 MB / 388 MB, free: 8.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.479416044894606]