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.00101/0.00101, allocations: 82.59 kB / 21.42 MB, free: 3.078 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.001138/0.001138, allocations: 168.1 kB / 24.82 MB, free: 9.328 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.9731/0.9731, allocations: 177 MB / 205.1 MB, free: 5.457 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.2456/0.2456, allocations: 34.87 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.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 1.443e-06/1.443e-06, allocations: 0 / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.068e-05, allocations: 2.312 kB / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.005471/0.005492, allocations: 1.66 MB / 380.9 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.006292, allocations: 0.5252 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.006342, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.006852, allocations: 451 kB / 381.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.00728, allocations: 299.2 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.01057, allocations: 127.6 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.01078, allocations: 167.6 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.01086, allocations: 11.86 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.011, allocations: 123.8 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.01122, allocations: 243.5 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.01123, allocations: 0 / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.0113, allocations: 27.92 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.01139, allocations: 87.7 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.01143, allocations: 35.75 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.01164, allocations: 187.2 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01165, allocations: 0 / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01165, allocations: 0 / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.01165, allocations: 4 kB / 383.1 MB, free: 13.88 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.0005801/0.01223, allocations: 0.697 MB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01227, allocations: 8.031 kB / 383.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.01232, allocations: 44.66 kB / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.01252, allocations: 248.8 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.01253, allocations: 384 / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.01253, allocations: 4.375 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.868e-05/0.01263, allocations: 66.88 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.01264, allocations: 192 / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.01264, allocations: 384 / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.01265, allocations: 384 / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.01267, allocations: 11.88 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.01297, allocations: 324.3 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.458e-05/0.01302, allocations: 35.05 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.01304, allocations: 7.688 kB / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.01306, allocations: 7.984 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.01308, allocations: 41.39 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.01308, allocations: 3.938 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001489/0.01323, allocations: 85.44 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.01325, allocations: 59.39 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/0.01673, allocations: 0.604 MB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.01674, allocations: 25.7 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.01692, allocations: 294.7 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.01694, allocations: 7.953 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.01697, allocations: 23.36 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.01715, allocations: 0.5508 MB / 386.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.01716, allocations: 8 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.01717, allocations: 3.984 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.01721, allocations: 23.61 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01721, allocations: 0 / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.844e-05/0.01731, allocations: 85.41 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.01732, allocations: 4 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01733, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.01734, allocations: 7.938 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.0174, allocations: 8 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.0174, allocations: 3.984 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.517e-05/0.01744, allocations: 7.938 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.01744, allocations: 4 kB / 386.4 MB, free: 10.39 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.635e-05/0.01752, allocations: 152.6 kB / 386.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.01757, allocations: 51.61 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.01769, allocations: 81.11 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.01769, allocations: 7.938 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.01769, allocations: 0 / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01769, allocations: 3.938 kB / 386.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.0179, allocations: 193.1 kB / 386.9 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.0179, allocations: 0 / 386.9 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.01793, allocations: 15.98 kB / 386.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01793, allocations: 0 / 386.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.01794, allocations: 0 / 386.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01794, allocations: 0 / 386.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01794, allocations: 0 / 386.9 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.01807, allocations: 247.5 kB / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.01811, allocations: 32.14 kB / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.01812, allocations: 0 / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.01818, allocations: 4 kB / 387.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.0182, allocations: 7.922 kB / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.0182, allocations: 0 / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.01846, allocations: 398.7 kB / 387.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.01846, allocations: 0 / 387.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.01869, allocations: 16 kB / 387.6 MB, free: 9.145 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.0008136/0.0195, allocations: 324.9 kB / 387.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.269e-05/0.01956, allocations: 15.69 kB / 387.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01956, allocations: 3.938 kB / 387.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.01958, allocations: 19.75 kB / 388 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.0002888/0.01987, allocations: 36.98 kB / 388 MB, free: 8.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00065/0.02052, allocations: 0.5588 MB / 388.6 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.137e-05/0.02061, allocations: 119.2 kB / 388.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.02064, allocations: 4 kB / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.0207, allocations: 82.19 kB / 388.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.0207, allocations: 0 / 388.8 MB, free: 8.02 MB / 362.7 MB Notification: Performance of Templates: time 0.00331/0.02401, allocations: 1.279 MB / 390 MB, free: 6.754 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.0102499569766223]