Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001515/0.001515, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00185/0.00185, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.977/0.977, 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.2789/0.2789, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 4 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.363e-05, allocations: 2.312 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002236/0.00226, allocations: 1.656 MB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007329/0.002993, allocations: 0.5408 MB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.003044, allocations: 0 / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.003544, allocations: 451 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.003962, allocations: 299.2 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.00424, allocations: 127.6 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002309/0.004471, allocations: 171.6 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.004593, allocations: 11.86 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.004729, allocations: 123.8 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.00491, allocations: 239.6 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004929, allocations: 4 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.409e-05/0.004993, allocations: 23.92 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.005077, allocations: 87.7 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.005114, allocations: 31.75 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.005315, allocations: 191.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.005319, allocations: 4 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.00532, allocations: 0 / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.005325, allocations: 0 / 382.7 MB, free: 14.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005622/0.005887, allocations: 0.6971 MB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.005931, allocations: 8.031 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.006, allocations: 44.66 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.00622, allocations: 240.9 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.006233, allocations: 4.312 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.006245, allocations: 4.375 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.006403, allocations: 66.88 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006413, allocations: 4.188 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.006423, allocations: 384 / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.006433, allocations: 384 / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/0.006464, allocations: 15.92 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.006866, allocations: 411.8 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.006943, allocations: 31.09 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.006967, allocations: 19.67 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.006986, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.007006, allocations: 37.39 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.007008, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001817/0.007189, allocations: 93.34 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.00722, allocations: 55.41 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.007671, allocations: 0.6238 MB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.007683, allocations: 25.7 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.007823, allocations: 298.7 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.007841, allocations: 7.953 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.007867, allocations: 15.38 kB / 385.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.008049, allocations: 0.5587 MB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.008069, allocations: 0 / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.008081, allocations: 4 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.772e-05/0.008119, allocations: 19.95 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.008122, allocations: 8 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.653e-05/0.008219, allocations: 81.39 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.008235, allocations: 11.94 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.00824, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.008254, allocations: 0 / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.574e-05/0.00834, allocations: 11.94 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.008345, allocations: 0 / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.008374, allocations: 7.938 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.008383, allocations: 7.984 kB / 386.1 MB, free: 10.51 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 (3): * Single equations (assignments): 3 * 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 7.242e-05/0.008456, allocations: 152.6 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.008492, allocations: 51.67 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.008701, allocations: 81.05 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.008705, allocations: 7.938 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.008709, allocations: 0 / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.008712, allocations: 0 / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.008909, allocations: 276.5 kB / 386.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.00891, allocations: 0 / 386.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.008946, allocations: 11.98 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008948, allocations: 3.938 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.008954, allocations: 0 / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.008957, allocations: 7.938 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008958, allocations: 0 / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.009079, allocations: 235.7 kB / 386.9 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.009102, allocations: 31.72 kB / 386.9 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.009119, allocations: 4 kB / 386.9 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.009169, allocations: 15.92 kB / 386.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.009184, allocations: 0 / 386.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.009191, allocations: 4 kB / 387 MB, free: 9.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002398/0.00943, allocations: 426.8 kB / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00943, allocations: 0 / 387.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.009592, allocations: 16 kB / 387.4 MB, free: 9.141 MB / 362.7 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 (3): * Single equations (assignments): 3 * 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.0007515/0.01034, allocations: 328.7 kB / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.01044, allocations: 19.62 kB / 387.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01044, allocations: 0 / 387.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.394e-05/0.01046, allocations: 15.67 kB / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.0107, allocations: 25.95 kB / 387.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.01143, allocations: 0.5627 MB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.574e-05/0.0115, allocations: 119.2 kB / 388.4 MB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.701e-05/0.01152, allocations: 8 kB / 388.5 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.01155, allocations: 12.5 kB / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01155, allocations: 0 / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of Templates: time 0.003957/0.01551, allocations: 1.258 MB / 389.7 MB, free: 6.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.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.239785875659436]