Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001148/0.001148, allocations: 82.59 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.001396/0.001396, allocations: 170 kB / 24.82 MB, free: 9.254 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.939/0.939, allocations: 177 MB / 205.1 MB, free: 5.496 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.235/0.235, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.569e-05, allocations: 2.312 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001913/0.001929, allocations: 1.631 MB / 380.9 MB, free: 188 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.002612, allocations: 0.5291 MB / 381.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.002663, allocations: 0 / 381.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.002849, allocations: 27.78 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.003078, allocations: 83.55 kB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.003273, allocations: 95.64 kB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003393, allocations: 67.77 kB / 381.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.003471, allocations: 15.84 kB / 381.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.076e-05/0.003532, allocations: 31.91 kB / 381.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.003579, allocations: 8 kB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.003592, allocations: 4 kB / 381.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.028e-05/0.003652, allocations: 35.86 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.003691, allocations: 23.91 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.037e-05/0.003711, allocations: 11.94 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.003827, allocations: 63.75 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.003829, allocations: 8 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.00383, allocations: 3.938 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.003833, allocations: 4 kB / 381.9 MB, free: 15.18 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.0003049/0.004138, allocations: 416.1 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.004169, allocations: 12.03 kB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.004196, allocations: 8.891 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.004297, allocations: 145 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.004304, allocations: 384 / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.00432, allocations: 4.375 kB / 382.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.004404, allocations: 50.95 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004411, allocations: 4.188 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.004419, allocations: 8.125 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.004427, allocations: 0 / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.004446, allocations: 4 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.004643, allocations: 260.2 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.004749, allocations: 43.11 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.24e-05/0.004762, allocations: 7.688 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.004781, allocations: 4 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.004798, allocations: 37.33 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.004799, allocations: 0 / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002243/0.005023, allocations: 93.62 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.005046, allocations: 55.41 kB / 383 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.005141, allocations: 207.3 kB / 383.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.005151, allocations: 25.7 kB / 383.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.0052, allocations: 154.8 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.005217, allocations: 15.83 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.005243, allocations: 39.23 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.005344, allocations: 496.1 kB / 383.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.005355, allocations: 7.984 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.005366, allocations: 4.188 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.0054, allocations: 31.69 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005401, allocations: 0 / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.917e-05/0.00546, allocations: 57.58 kB / 384 MB, free: 12.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.00547, allocations: 8 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.005474, allocations: 0 / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.005483, allocations: 0 / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.005519, allocations: 15.92 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.005521, allocations: 0 / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.005538, allocations: 4 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-06/0.005541, allocations: 0 / 384 MB, free: 12.8 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 (5): * Single equations (assignments): 5 * 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 5.779e-05/0.005599, allocations: 160.6 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.005619, allocations: 19.84 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.005703, allocations: 62.14 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005705, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005706, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005708, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.005919, allocations: 306 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005921, allocations: 0 / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.499e-05/0.005946, allocations: 11.98 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005947, allocations: 0 / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.005952, allocations: 192 / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.005954, allocations: 8 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005955, allocations: 0 / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.006057, allocations: 211.8 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-06/0.006067, allocations: 7.938 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.006078, allocations: 4 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.226e-05/0.00611, allocations: 7.984 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.006132, allocations: 0 / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006136, allocations: 4 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.006197, allocations: 153.6 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.006197, allocations: 0 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.006346, allocations: 8 kB / 385 MB, free: 11.79 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 (5): * Single equations (assignments): 5 * 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.0007599/0.007106, allocations: 394.5 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.349e-05/0.00717, allocations: 27.61 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.007171, allocations: 4 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.00719, allocations: 19.67 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.007386, allocations: 15.94 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.007638, allocations: 190.3 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.007673, allocations: 63.34 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.805e-05/0.007701, allocations: 15.97 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.007748, allocations: 74.2 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007748, allocations: 4 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.002588/0.01034, allocations: 1.264 MB / 387 MB, free: 9.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.785606970079243]