Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.00106/0.00106, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001189/0.001189, 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 0.9188/0.9188, 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.2591/0.2591, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.009e-05, allocations: 3.016 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002629/0.002659, allocations: 1.902 MB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003705, allocations: 0.7003 MB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.003802, allocations: 4 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.004251, allocations: 175.4 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003909/0.004642, allocations: 175.2 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.005236, allocations: 331.2 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.005556, allocations: 239.3 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.005714, allocations: 41.78 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.005871, allocations: 123.7 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.006049, allocations: 147.7 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.006079, allocations: 12 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.006189, allocations: 43.92 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.006294, allocations: 111.7 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.006358, allocations: 67.7 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.006653, allocations: 239 kB / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.006657, allocations: 0 / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.006659, allocations: 0 / 383.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.006667, allocations: 0 / 383.1 MB, free: 13.79 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.0007052/0.007372, allocations: 0.6894 MB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.007411, allocations: 8.031 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.007488, allocations: 48.7 kB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.007762, allocations: 266.8 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.007777, allocations: 16.31 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.00781, allocations: 8.375 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.008063, allocations: 143.6 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.008079, allocations: 4.172 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.008095, allocations: 4.375 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.008105, allocations: 384 / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.00819, allocations: 39.92 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.008859, allocations: 0.6271 MB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.009012, allocations: 98.22 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.00906, allocations: 35.48 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.009083, allocations: 7.938 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.009109, allocations: 37.39 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.009111, allocations: 0 / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007852/0.009896, allocations: 412 kB / 385.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.009934, allocations: 84.98 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/0.01027, allocations: 498.7 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.01029, allocations: 29.7 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.01041, allocations: 259.2 kB / 386.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.01046, allocations: 59.5 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.01051, allocations: 35.38 kB / 386.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01065, allocations: 0.5393 MB / 387 MB, free: 9.641 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.01071, allocations: 23.98 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.01078, allocations: 55.3 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.01089, allocations: 83.3 kB / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01089, allocations: 0 / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002109/0.0111, allocations: 157.4 kB / 387.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.01112, allocations: 12 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01112, allocations: 0 / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.01114, allocations: 0 / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.01129, allocations: 51.89 kB / 387.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.01129, allocations: 7.938 kB / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.01136, allocations: 23.92 kB / 387.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01137, allocations: 4 kB / 387.4 MB, free: 9.207 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 8.728e-05/0.01146, allocations: 164.6 kB / 387.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.01152, allocations: 51.7 kB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.01178, allocations: 189 kB / 387.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01179, allocations: 4 kB / 387.8 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01179, allocations: 4.688 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.0118, allocations: 0 / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/0.01238, allocations: 0.6878 MB / 388.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01238, allocations: 0 / 388.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.01249, allocations: 51.84 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.0125, allocations: 4 kB / 388.5 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01251, allocations: 15.98 kB / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01251, allocations: 0 / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01252, allocations: 0 / 388.5 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.01279, allocations: 425.1 kB / 388.9 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.01283, allocations: 47.64 kB / 389 MB, free: 7.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.01286, allocations: 11.94 kB / 389 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.633e-05/0.01296, allocations: 19.98 kB / 389 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.01303, allocations: 27.88 kB / 389 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.01304, allocations: 4 kB / 389.1 MB, free: 7.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.01327, allocations: 331 kB / 389.4 MB, free: 7.125 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01327, allocations: 4 kB / 389.4 MB, free: 7.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.01351, allocations: 55.94 kB / 389.4 MB, free: 7.066 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.0009226/0.01444, allocations: 368.9 kB / 389.8 MB, free: 6.809 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.01465, allocations: 95.58 kB / 389.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01465, allocations: 0 / 389.9 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.01473, allocations: 63.69 kB / 390 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.0151, allocations: 68.94 kB / 390 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.0159, allocations: 0.5924 MB / 390.6 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.823e-05/0.01598, allocations: 116.3 kB / 390.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.01608, allocations: 50.23 kB / 390.8 MB, free: 5.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.01615, allocations: 36.5 kB / 390.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01615, allocations: 0 / 390.8 MB, free: 5.742 MB / 362.7 MB Notification: Performance of Templates: time 0.007016/0.02317, allocations: 4.103 MB / 394.9 MB, free: 1.684 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.1239060177467763]