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.001014/0.001014, 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.0009561/0.0009561, allocations: 156.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.9267/0.9267, allocations: 177 MB / 204.8 MB, free: 5.602 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.2667/0.2667, allocations: 34.87 MB / 296.3 MB, free: 472 kB / 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.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 1.963e-06/1.963e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.029e-05, allocations: 2.312 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00256/0.00259, allocations: 2.013 MB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.003647, allocations: 0.8053 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.003741, allocations: 4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.004153, allocations: 179.2 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.004567, allocations: 215.1 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.005215, allocations: 411 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.005538, allocations: 303 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.005674, allocations: 52.83 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.005849, allocations: 159.6 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.006002, allocations: 155.6 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.006028, allocations: 15.98 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.136e-05/0.006119, allocations: 47.92 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.006248, allocations: 175.4 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.006319, allocations: 91.58 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.00663, allocations: 330.7 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.006634, allocations: 0 / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.006635, allocations: 4 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.006641, allocations: 0 / 383.7 MB, free: 13.11 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007178/0.007359, allocations: 0.8755 MB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.007393, allocations: 8.031 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.276e-05/0.007476, allocations: 76.52 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.007795, allocations: 385.2 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.007806, allocations: 12.31 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.007831, allocations: 8.375 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.008042, allocations: 139.7 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.008051, allocations: 4.188 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.008063, allocations: 4.375 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.00807, allocations: 4.375 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003197/0.00839, allocations: 47.83 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.00898, allocations: 0.6935 MB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.009118, allocations: 98.22 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.00916, allocations: 35.42 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.009182, allocations: 4 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.0092, allocations: 41.39 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.009202, allocations: 4 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007419/0.009943, allocations: 483.4 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.009975, allocations: 85.2 kB / 386.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.01049, allocations: 0.7495 MB / 387.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.01051, allocations: 37.64 kB / 387.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.01068, allocations: 347.2 kB / 387.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.01073, allocations: 63.42 kB / 387.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.01078, allocations: 43.36 kB / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.01088, allocations: 0.4887 MB / 388.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-05/0.01093, allocations: 19.98 kB / 388.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.011, allocations: 51.36 kB / 388.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.01111, allocations: 83.3 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.01111, allocations: 0 / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002085/0.01132, allocations: 173.2 kB / 388.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01133, allocations: 8 kB / 388.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01134, allocations: 0 / 388.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.01135, allocations: 0 / 388.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01149, allocations: 55.83 kB / 388.8 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.0115, allocations: 8.75 kB / 388.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-05/0.01158, allocations: 23.94 kB / 388.8 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.01159, allocations: 4 kB / 388.8 MB, free: 7.73 MB / 362.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 9.534e-05/0.01168, allocations: 164.6 kB / 389 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.01175, allocations: 59.62 kB / 389 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.012, allocations: 206.9 kB / 389.2 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.012, allocations: 0 / 389.2 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01201, allocations: 3.938 kB / 389.2 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01201, allocations: 4 kB / 389.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.01265, allocations: 0.7893 MB / 390 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01265, allocations: 0 / 390 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.01276, allocations: 55.84 kB / 390.1 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.01276, allocations: 0 / 390.1 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.01277, allocations: 4 kB / 390.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01277, allocations: 0 / 390.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01278, allocations: 0 / 390.1 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.01305, allocations: 462.5 kB / 390.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.01311, allocations: 71.5 kB / 390.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.01314, allocations: 8 kB / 390.6 MB, free: 5.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.01324, allocations: 19.98 kB / 390.6 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-05/0.0133, allocations: 27.95 kB / 390.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.01331, allocations: 4 kB / 390.7 MB, free: 5.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003538/0.01367, allocations: 499 kB / 391.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01367, allocations: 0 / 391.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002522/0.01392, allocations: 63.94 kB / 391.2 MB, free: 5.246 MB / 362.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.0008904/0.01481, allocations: 383.1 kB / 391.6 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.01502, allocations: 99.5 kB / 391.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01502, allocations: 0 / 391.7 MB, free: 4.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.0151, allocations: 63.59 kB / 391.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.0155, allocations: 102.4 kB / 391.8 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.01678, allocations: 0.8241 MB / 392.7 MB, free: 3.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.01688, allocations: 153.1 kB / 392.8 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.01703, allocations: 75.52 kB / 392.9 MB, free: 3.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.01712, allocations: 40.48 kB / 392.9 MB, free: 3.574 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.01712, allocations: 4 kB / 392.9 MB, free: 3.57 MB / 362.7 MB Notification: Performance of Templates: time 0.008602/0.02572, allocations: 5.831 MB / 398.8 MB, free: 13.79 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.100662442855537]