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.0009627/0.0009627, 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.001576/0.001576, allocations: 160.5 kB / 24.56 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.9365/0.9365, 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.2938/0.2938, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.803e-06/1.803e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.291e-05, allocations: 3.156 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002368/0.002391, allocations: 1.71 MB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006611/0.003052, allocations: 0.8024 MB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.003095, allocations: 0 / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.003384, allocations: 27.78 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.003603, allocations: 43.77 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.946e-06/0.003606, allocations: 4 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.003751, allocations: 35.83 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.003785, allocations: 7.938 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.431e-05/0.003859, allocations: 15.97 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.219e-05/0.003881, allocations: 7.938 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.003892, allocations: 4 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.003938, allocations: 11.98 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.003982, allocations: 19.94 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.004002, allocations: 4 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.004124, allocations: 55.7 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004126, allocations: 4 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004127, allocations: 0 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004131, allocations: 0 / 381.5 MB, free: 15.32 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.000341/0.004472, allocations: 396.4 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.004511, allocations: 8.031 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.004564, allocations: 12.83 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.004716, allocations: 120.5 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.004727, allocations: 4.375 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.004739, allocations: 8.359 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.004878, allocations: 108.3 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004886, allocations: 4.188 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.004896, allocations: 4.375 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-05/0.004944, allocations: 24.34 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.004984, allocations: 35.8 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.005518, allocations: 1.2 MB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.263e-05/0.005601, allocations: 269.4 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.005635, allocations: 130.9 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.005665, allocations: 119.2 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.005711, allocations: 164.6 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.005711, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.22e-05/0.005774, allocations: 49.52 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.005829, allocations: 170.6 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.005971, allocations: 243.9 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.333e-06/0.005978, allocations: 29.7 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.006061, allocations: 202.2 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-06/0.006064, allocations: 4 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.00611, allocations: 51.31 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.006238, allocations: 0.4923 MB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.00626, allocations: 15.98 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.006374, allocations: 200.8 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.006527, allocations: 229.5 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.006529, allocations: 0 / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002036/0.006733, allocations: 169.2 kB / 385.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006745, allocations: 8 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.006751, allocations: 4 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.006768, allocations: 11.94 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.006855, allocations: 36.55 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.006864, allocations: 11.94 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.006917, allocations: 27.84 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.006927, allocations: 8 kB / 386 MB, free: 10.38 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.907e-05/0.007026, allocations: 287.6 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.00708, allocations: 160.8 kB / 386.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.007134, allocations: 152.7 kB / 386.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.957e-05/0.007204, allocations: 276 kB / 386.9 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.958e-05/0.007274, allocations: 264.2 kB / 387.1 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.079e-05/0.007344, allocations: 276 kB / 387.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.007545, allocations: 0.5077 MB / 387.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.954e-05/0.007585, allocations: 148.9 kB / 388.1 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.007624, allocations: 160.8 kB / 388.2 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/0.007696, allocations: 264.1 kB / 388.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.007771, allocations: 272 kB / 388.7 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.037e-05/0.007842, allocations: 268 kB / 389 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.067e-05/0.007912, allocations: 276 kB / 389.3 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.008074, allocations: 456 kB / 389.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.008119, allocations: 156.8 kB / 389.9 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.008193, allocations: 264.1 kB / 390.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.008251, allocations: 152.8 kB / 390.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.008317, allocations: 272 kB / 390.5 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.008353, allocations: 148.9 kB / 390.7 MB, free: 5.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.028e-05/0.008423, allocations: 168 kB / 390.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008423, allocations: 0 / 390.9 MB, free: 5.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000178/0.008601, allocations: 8 kB / 390.9 MB, free: 5.348 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.0004086/0.00901, allocations: 316.1 kB / 391.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.009135, allocations: 68.41 kB / 391.2 MB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.009137, allocations: 0 / 391.2 MB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/0.009139, allocations: 4.312 kB / 391.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.00946, allocations: 0.7101 MB / 392 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.009744, allocations: 285.3 kB / 392.2 MB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.608e-05/0.00978, allocations: 63.83 kB / 392.3 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.613e-05/0.009856, allocations: 41.09 kB / 392.3 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.009881, allocations: 20.48 kB / 392.4 MB, free: 3.828 MB / 362.7 MB Notification: Performance of SimCode: time 6.12e-07/0.009881, allocations: 0 / 392.4 MB, free: 3.828 MB / 362.7 MB Notification: Performance of Templates: time 0.002322/0.0122, allocations: 0.7605 MB / 393.1 MB, free: 3.078 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.0310627832077444]