Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.001048/0.001048, allocations: 91.5 kB / 21.2 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.0009763/0.0009763, allocations: 160.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 0.969/0.969, allocations: 177 MB / 204.8 MB, free: 5.574 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.2662/0.2662, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.907e-05, allocations: 4.844 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003321/0.00335, allocations: 1.654 MB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.00445, allocations: 0.5641 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.004538, allocations: 4 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.005208, allocations: 447.1 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005426/0.00575, allocations: 307.1 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004653/0.006216, allocations: 159.6 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003038/0.006519, allocations: 187.5 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.006626, allocations: 7.859 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.006816, allocations: 119.8 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.007093, allocations: 243.6 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.007115, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.007208, allocations: 27.88 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.007324, allocations: 91.69 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.792e-05/0.007372, allocations: 39.75 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.007607, allocations: 195.2 kB / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.007611, allocations: 0 / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007613, allocations: 0 / 382.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.007619, allocations: 0 / 382.8 MB, free: 14.06 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.0005732/0.008193, allocations: 0.6893 MB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.008235, allocations: 8.031 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.886e-05/0.008303, allocations: 44.66 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.008514, allocations: 244.9 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.008527, allocations: 384 / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.008539, allocations: 8.375 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.008661, allocations: 62.94 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.008669, allocations: 192 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.00868, allocations: 4.375 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.008688, allocations: 384 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.008725, allocations: 11.94 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.009148, allocations: 431.6 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.585e-05/0.009224, allocations: 47.03 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.383e-05/0.009248, allocations: 15.62 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.009268, allocations: 0 / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.00929, allocations: 41.39 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.009291, allocations: 0 / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001786/0.009469, allocations: 93.38 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.0095, allocations: 55.39 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.009908, allocations: 0.6316 MB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.009918, allocations: 25.7 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.01005, allocations: 282.8 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.01007, allocations: 11.89 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.01011, allocations: 23.38 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.01026, allocations: 0.5509 MB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.01028, allocations: 3.984 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.01029, allocations: 8 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.01033, allocations: 19.69 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01033, allocations: 0 / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.125e-05/0.01042, allocations: 89.34 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01044, allocations: 7.938 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.01044, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.01046, allocations: 0 / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.01052, allocations: 11.98 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01053, allocations: 0 / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.01056, allocations: 4 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.01056, allocations: 4 kB / 386.2 MB, free: 10.45 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 9.5e-05/0.01066, allocations: 152.6 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.01071, allocations: 47.72 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.01089, allocations: 89.02 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.01089, allocations: 3.984 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.0109, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.0109, allocations: 0 / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.0112, allocations: 276.5 kB / 386.7 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.0112, allocations: 4 kB / 386.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.01123, allocations: 4 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01124, allocations: 4 kB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.01124, allocations: 0 / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01125, allocations: 3.938 kB / 386.8 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.01125, allocations: 15.92 kB / 386.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.01141, allocations: 232 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.01144, allocations: 39.66 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.01145, allocations: 0 / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.01149, allocations: 3.984 kB / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.01151, allocations: 7.984 kB / 387 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.01151, allocations: 3.984 kB / 387 MB, free: 9.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002615/0.01178, allocations: 426.8 kB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01178, allocations: 4 kB / 387.5 MB, free: 9.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.01195, allocations: 23.98 kB / 387.5 MB, free: 9.059 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.0007221/0.01267, allocations: 310.6 kB / 387.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.341e-05/0.01277, allocations: 27.66 kB / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01277, allocations: 0 / 387.8 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.01278, allocations: 19.61 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.01303, allocations: 38.19 kB / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000629/0.01366, allocations: 0.569 MB / 388.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.01374, allocations: 123.2 kB / 388.6 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.01378, allocations: 7.984 kB / 388.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.01381, allocations: 16.5 kB / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.01381, allocations: 0 / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of Templates: time 0.003766/0.01758, allocations: 1.205 MB / 389.8 MB, free: 6.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.2347089569084346]