Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.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.00112/0.00112, 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.001669/0.001669, 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 1.102/1.102, allocations: 177 MB / 204.8 MB, free: 5.598 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.3253/0.3253, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.938e-05, allocations: 3.859 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002538/0.002567, allocations: 1.703 MB / 380.5 MB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000673/0.003241, allocations: 0.8024 MB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.003277, allocations: 0 / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.003532, allocations: 35.72 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.003747, allocations: 39.83 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.00375, allocations: 0 / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.003901, allocations: 35.83 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.003936, allocations: 8 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.003978, allocations: 11.94 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.00403, allocations: 11.97 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.004042, allocations: 0 / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.867e-05/0.004091, allocations: 12 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.004138, allocations: 19.92 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.004162, allocations: 11.94 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.004286, allocations: 55.7 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004288, allocations: 0 / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.004289, allocations: 0 / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.004295, allocations: 0 / 381.5 MB, free: 15.33 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003198/0.004614, allocations: 400.3 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.004659, allocations: 8.031 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.004703, allocations: 12.88 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.004815, allocations: 120.5 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.004827, allocations: 4.359 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.004841, allocations: 4.375 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.004978, allocations: 108.3 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.004987, allocations: 192 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.005001, allocations: 8.359 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-05/0.005049, allocations: 24.36 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.005088, allocations: 35.84 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.00565, allocations: 1.196 MB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.077e-05/0.00574, allocations: 273.5 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.005774, allocations: 126.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.005801, allocations: 119.2 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.005847, allocations: 160.6 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.005847, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.282e-05/0.00591, allocations: 37.59 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.005961, allocations: 170.6 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.006127, allocations: 251.8 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.006142, allocations: 33.64 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.006241, allocations: 206.2 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.51e-06/0.006246, allocations: 3.984 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.006298, allocations: 51.33 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.006439, allocations: 0.4923 MB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.006465, allocations: 15.98 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.006575, allocations: 189.7 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.00672, allocations: 237.4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.006723, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002021/0.006925, allocations: 165.5 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.006942, allocations: 8 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.006949, allocations: 4 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.00697, allocations: 11.94 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.007063, allocations: 35.92 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.007072, allocations: 11.98 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.007125, allocations: 27.78 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.007135, allocations: 11.94 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.229e-05/0.007228, allocations: 288 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/0.007282, allocations: 164.8 kB / 386.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.007335, allocations: 152.7 kB / 386.6 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/0.007395, allocations: 276 kB / 386.9 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-05/0.007455, allocations: 264.2 kB / 387.1 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.468e-05/0.007519, allocations: 272.1 kB / 387.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.007703, allocations: 0.5154 MB / 387.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/0.007736, allocations: 148.9 kB / 388.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.007769, allocations: 148.8 kB / 388.2 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.238e-05/0.007831, allocations: 264.1 kB / 388.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/0.007893, allocations: 272.1 kB / 388.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.605e-05/0.007959, allocations: 272 kB / 389 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.834e-05/0.008017, allocations: 272 kB / 389.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.008148, allocations: 451.9 kB / 389.7 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.008189, allocations: 156.8 kB / 389.9 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.008258, allocations: 268 kB / 390.1 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.008317, allocations: 156.9 kB / 390.3 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.008381, allocations: 272 kB / 390.5 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.008416, allocations: 148.9 kB / 390.7 MB, free: 5.535 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.008495, allocations: 160 kB / 390.8 MB, free: 5.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008495, allocations: 0 / 390.8 MB, free: 5.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001846/0.00868, allocations: 16 kB / 390.9 MB, free: 5.363 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 (0): * Single equations (assignments): 0 * 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.0004646/0.009144, allocations: 306.1 kB / 391.2 MB, free: 5.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.00926, allocations: 67.47 kB / 391.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.009262, allocations: 0 / 391.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.009263, allocations: 0 / 391.2 MB, free: 5.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.009578, allocations: 0.7215 MB / 391.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.00987, allocations: 281.3 kB / 392.2 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.905e-05/0.009909, allocations: 63.84 kB / 392.3 MB, free: 3.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.693e-05/0.009996, allocations: 41.08 kB / 392.3 MB, free: 3.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.01002, allocations: 20.5 kB / 392.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01002, allocations: 0 / 392.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of Templates: time 0.002455/0.01248, allocations: 0.7409 MB / 393.1 MB, free: 3.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.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.4683759049512446]