Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.0009787/0.0009787, allocations: 85.81 kB / 21.43 MB, free: 3.07 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.001111/0.001111, allocations: 164 kB / 24.82 MB, free: 8.938 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.9906/0.9906, allocations: 177 MB / 205.1 MB, free: 5.473 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.2744/0.2744, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.329e-05, allocations: 10.95 kB / 379.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.00347/0.003503, allocations: 1.715 MB / 381 MB, free: 88 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.004671, allocations: 0.5641 MB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.936e-05/0.00476, allocations: 7.938 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006669/0.005427, allocations: 459 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007005/0.006128, allocations: 307.1 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.006627, allocations: 167.6 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.006916, allocations: 187.5 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.00704, allocations: 16.22 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.00721, allocations: 123.8 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.007506, allocations: 247.6 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.00753, allocations: 4 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.007663, allocations: 59.86 kB / 383.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.007769, allocations: 83.72 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.33e-05/0.007822, allocations: 47.66 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.008137, allocations: 211.1 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.008141, allocations: 0 / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.008142, allocations: 4 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.008148, allocations: 0 / 383.4 MB, free: 13.63 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.0007429/0.008891, allocations: 0.7163 MB / 384.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.008937, allocations: 8.031 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.243e-05/0.00901, allocations: 48.61 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.009271, allocations: 256.8 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.009287, allocations: 8.375 kB / 384.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.00931, allocations: 4.375 kB / 384.5 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.009456, allocations: 66.88 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.009467, allocations: 192 / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.009475, allocations: 384 / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.009481, allocations: 384 / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.2e-05/0.009523, allocations: 15.92 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.009993, allocations: 348.2 kB / 384.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.01017, allocations: 59.06 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.0102, allocations: 15.67 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.01023, allocations: 4 kB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.01026, allocations: 33.39 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/0.01026, allocations: 0 / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000791/0.01105, allocations: 257.5 kB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01109, allocations: 59.41 kB / 385.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008472/0.01194, allocations: 0.6078 MB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.01195, allocations: 29.64 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.01219, allocations: 306.7 kB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.01223, allocations: 39.67 kB / 386.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.01229, allocations: 27.38 kB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.01251, allocations: 0.5586 MB / 386.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/0.01254, allocations: 8 kB / 386.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.01258, allocations: 15.98 kB / 386.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/0.01266, allocations: 43.66 kB / 386.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01266, allocations: 3.938 kB / 386.9 MB, free: 9.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001828/0.01284, allocations: 129.2 kB / 387.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01286, allocations: 4 kB / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01287, allocations: 0 / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.01288, allocations: 0 / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.01298, allocations: 23.98 kB / 387.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.01298, allocations: 0 / 387.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.01304, allocations: 11.98 kB / 387.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.01305, allocations: 4 kB / 387.1 MB, free: 9.742 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 0.0001133/0.01316, allocations: 164.5 kB / 387.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.01323, allocations: 51.72 kB / 387.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.01347, allocations: 129.9 kB / 387.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01348, allocations: 3.938 kB / 387.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01348, allocations: 0 / 387.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.01348, allocations: 0 / 387.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.01406, allocations: 469.1 kB / 387.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.01407, allocations: 0 / 387.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.01415, allocations: 23.98 kB / 387.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.01416, allocations: 0 / 387.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.01417, allocations: 4.062 kB / 387.9 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.01417, allocations: 7.984 kB / 387.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.01417, allocations: 3.938 kB / 387.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.01455, allocations: 287 kB / 388.2 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.01459, allocations: 43.66 kB / 388.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.01461, allocations: 0 / 388.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01473, allocations: 8 kB / 388.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.01477, allocations: 16.11 kB / 388.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01477, allocations: 4 kB / 388.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002609/0.01503, allocations: 398.6 kB / 388.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01503, allocations: 0 / 388.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.01524, allocations: 39.92 kB / 388.7 MB, free: 8.035 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.000886/0.01612, allocations: 441.6 kB / 389.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.01624, allocations: 47.61 kB / 389.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01624, allocations: 0 / 389.2 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.01628, allocations: 43.58 kB / 389.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.01654, allocations: 30.3 kB / 389.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.0172, allocations: 0.635 MB / 389.9 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.591e-05/0.01727, allocations: 123.2 kB / 390 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.19e-05/0.01731, allocations: 16.48 kB / 390 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.01738, allocations: 78.2 kB / 390.1 MB, free: 6.699 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01738, allocations: 0 / 390.1 MB, free: 6.699 MB / 362.7 MB Notification: Performance of Templates: time 0.004003/0.02138, allocations: 1.992 MB / 392.1 MB, free: 4.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.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.0112298550084233]