Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.001398/0.001398, allocations: 91.5 kB / 21.19 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.001545/0.001545, allocations: 156.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.013/1.013, allocations: 177 MB / 204.8 MB, free: 5.582 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.3028/0.3028, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.634e-05, allocations: 6.25 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003367/0.003403, allocations: 1.717 MB / 380.5 MB, free: 344 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009663/0.004369, allocations: 0.5524 MB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.004434, allocations: 0 / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.004699, allocations: 63.66 kB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.005065, allocations: 99.53 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.005426, allocations: 131.5 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.005603, allocations: 83.8 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.00571, allocations: 16.17 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.024e-05/0.0058, allocations: 51.88 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.005902, allocations: 43.88 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.00592, allocations: 4 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.006041, allocations: 55.86 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.006119, allocations: 27.91 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.00615, allocations: 11.94 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.006359, allocations: 99.64 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006362, allocations: 0 / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.006364, allocations: 0 / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.00637, allocations: 4 kB / 381.7 MB, free: 15.1 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.0005245/0.006894, allocations: 443.9 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.006937, allocations: 8.031 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.006991, allocations: 16.83 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.007176, allocations: 146.6 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.00719, allocations: 4.375 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.007224, allocations: 8.328 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.00739, allocations: 62.94 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.007403, allocations: 4.188 kB / 382.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007416, allocations: 8.359 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.007425, allocations: 4.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.007477, allocations: 23.86 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.007863, allocations: 287.8 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.008073, allocations: 51.08 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.008108, allocations: 23.8 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.008135, allocations: 4 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.00816, allocations: 37.33 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.008162, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007753/0.008937, allocations: 249.1 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.008969, allocations: 51.41 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.009131, allocations: 225.8 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.009146, allocations: 29.7 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.009214, allocations: 150.9 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.009253, allocations: 35.64 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.009301, allocations: 35.36 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.009442, allocations: 0.5 MB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.009485, allocations: 19.98 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.009518, allocations: 8 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.818e-05/0.009606, allocations: 48 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.009607, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001534/0.009761, allocations: 101.4 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.009776, allocations: 4 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.009781, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.009797, allocations: 0 / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.009888, allocations: 24.55 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.009895, allocations: 7.984 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.009928, allocations: 4 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.009938, allocations: 4 kB / 384.3 MB, free: 12.3 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.239e-05/0.01002, allocations: 164.5 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.01006, allocations: 15.91 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.01027, allocations: 114.3 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01027, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01027, allocations: 0 / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01028, allocations: 3.984 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.01073, allocations: 416.6 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01073, allocations: 0 / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.01081, allocations: 23.98 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01081, allocations: 0 / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.01082, allocations: 8 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.01083, allocations: 3.984 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01083, allocations: 0 / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.01103, allocations: 259.1 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01104, allocations: 15.89 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.01106, allocations: 4 kB / 385.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.01114, allocations: 16 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.01118, allocations: 11.92 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.01119, allocations: 4 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.366e-05/0.01129, allocations: 163.2 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01129, allocations: 0 / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002827/0.01157, allocations: 27.92 kB / 385.5 MB, free: 10.97 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.001221/0.01279, allocations: 434 kB / 386 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.01295, allocations: 63.59 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01295, allocations: 0 / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.01301, allocations: 39.61 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.01333, allocations: 31.86 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005129/0.01384, allocations: 254 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.0139, allocations: 71.34 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.01396, allocations: 16.61 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.014, allocations: 16.5 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.014, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.004378/0.01838, allocations: 1.581 MB / 388 MB, free: 8.574 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.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.316501555033028]