Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.0007688/0.0007688, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001287/0.002056, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007332/0.0007332, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001833, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9405/0.9405, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08936/1.03, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.3038/0.3038, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03577/0.3396, allocations: 13.23 MB / 292.8 MB, free: 6.398 MB / 282.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.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.512e-05, allocations: 5.906 kB / 294.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003115/0.00313, allocations: 2.045 MB / 296.2 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.004083, allocations: 0.8352 MB / 297 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.004156, allocations: 0 / 297 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.004459, allocations: 187.2 kB / 297.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.004783, allocations: 227 kB / 297.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.00534, allocations: 414.9 kB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.005609, allocations: 291.1 kB / 298.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.005721, allocations: 54.78 kB / 298.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.005936, allocations: 226.7 kB / 298.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.006071, allocations: 147.6 kB / 298.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.006094, allocations: 12 kB / 298.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.00618, allocations: 51.86 kB / 298.6 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.006296, allocations: 155.5 kB / 298.7 MB, free: 464 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.006352, allocations: 63.69 kB / 298.8 MB, free: 400 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.006612, allocations: 318.7 kB / 299.1 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.006623, allocations: 0 / 299.1 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006624, allocations: 4 kB / 299.1 MB, free: 76 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.006635, allocations: 0 / 299.1 MB, free: 76 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000767/0.007402, allocations: 0.7767 MB / 299.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.007435, allocations: 12.92 kB / 299.9 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.007494, allocations: 40.89 kB / 299.9 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.007772, allocations: 346.4 kB / 300.3 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.007784, allocations: 8.375 kB / 300.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.00781, allocations: 12.31 kB / 300.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.007978, allocations: 124.6 kB / 300.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.007987, allocations: 192 / 300.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.007997, allocations: 4.375 kB / 300.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.008003, allocations: 4.375 kB / 300.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.008052, allocations: 37.72 kB / 300.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.008461, allocations: 344 kB / 300.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.008579, allocations: 77.05 kB / 300.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.008607, allocations: 21.97 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.008633, allocations: 4 kB / 300.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.008657, allocations: 34.56 kB / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.008658, allocations: 0 / 300.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006069/0.009265, allocations: 273.1 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/0.009469, allocations: 85.11 kB / 301.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.009866, allocations: 0.6268 MB / 301.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.009881, allocations: 25.7 kB / 301.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.009952, allocations: 182.3 kB / 302.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.009995, allocations: 63.42 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.01003, allocations: 25.72 kB / 302.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.46e-05/0.01011, allocations: 318 kB / 302.5 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.01013, allocations: 15.75 kB / 302.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.01017, allocations: 41.69 kB / 302.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.01025, allocations: 77.64 kB / 302.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.01025, allocations: 0 / 302.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001208/0.01037, allocations: 121.1 kB / 302.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.01038, allocations: 4 kB / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01039, allocations: 0 / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.0104, allocations: 4 kB / 302.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.01054, allocations: 47.91 kB / 302.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01054, allocations: 4 kB / 302.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.01061, allocations: 31.91 kB / 302.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01062, allocations: 4 kB / 302.9 MB, free: 12.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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 8.389e-05/0.01071, allocations: 120.7 kB / 303 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.01076, allocations: 39.95 kB / 303 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.01096, allocations: 170.8 kB / 303.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01096, allocations: 4 kB / 303.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.01096, allocations: 0 / 303.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.01097, allocations: 3.938 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.01141, allocations: 485.6 kB / 303.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01141, allocations: 4 kB / 303.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01152, allocations: 59.89 kB / 303.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.01157, allocations: 55.61 kB / 303.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01158, allocations: 3.938 kB / 303.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.01158, allocations: 4 kB / 303.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01159, allocations: 0 / 303.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01159, allocations: 0 / 303.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.01175, allocations: 290.7 kB / 304.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.01177, allocations: 4 kB / 304.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.01187, allocations: 35.84 kB / 304.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.01193, allocations: 23.91 kB / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.01193, allocations: 0 / 304.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.01217, allocations: 339.4 kB / 304.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01217, allocations: 0 / 304.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.01237, allocations: 59.94 kB / 304.5 MB, free: 10.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.001217/0.01359, allocations: 0.5357 MB / 305.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.01372, allocations: 84.64 kB / 305.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/0.01373, allocations: 8 kB / 305.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.0138, allocations: 52.83 kB / 305.2 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.01436, allocations: 450.1 kB / 305.6 MB, free: 9.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.01542, allocations: 0.8414 MB / 306.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/0.01551, allocations: 145.2 kB / 306.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.01561, allocations: 63.22 kB / 306.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.01576, allocations: 115.4 kB / 306.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01577, allocations: 0 / 306.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of Templates: time 0.007341/0.02311, allocations: 5.684 MB / 312.5 MB, free: 2.707 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9964096592739224]