Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 167.6 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3718/0.3718, allocations: 34.26 MB / 296.1 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.309e-05/3.568e-05, allocations: 5.406 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004015/0.004051, allocations: 1.876 MB / 380.4 MB, free: 484 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.005272, allocations: 0.6931 MB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.00539, allocations: 0 / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.005984, allocations: 179.2 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.006456, allocations: 179.2 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.007104, allocations: 323.2 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.007427, allocations: 239.3 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.007645, allocations: 45.78 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.00782, allocations: 119.7 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.008023, allocations: 147.7 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.008053, allocations: 16 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.008171, allocations: 47.84 kB / 382.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.008309, allocations: 111.7 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.008382, allocations: 63.72 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.008757, allocations: 239.1 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.008764, allocations: 0 / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.008767, allocations: 3.938 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.008775, allocations: 0 / 382.8 MB, free: 14.09 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.0008069/0.009582, allocations: 0.6778 MB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.009635, allocations: 12.03 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.009706, allocations: 44.7 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.009981, allocations: 266.7 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.009996, allocations: 8.375 kB / 383.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.01002, allocations: 4.375 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.01026, allocations: 141.1 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.01027, allocations: 192 / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.01029, allocations: 16.11 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.0103, allocations: 0 / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.01036, allocations: 31.86 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.01096, allocations: 0.5496 MB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.01112, allocations: 94.03 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.01116, allocations: 31.61 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.01121, allocations: 15.91 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.01124, allocations: 41.39 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.01124, allocations: 0 / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007621/0.012, allocations: 300.8 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.01204, allocations: 81.11 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.01237, allocations: 474.5 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.01239, allocations: 25.7 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.01253, allocations: 263.1 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.01259, allocations: 71.42 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.01265, allocations: 43.34 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.01285, allocations: 0.5352 MB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.035e-05/0.0129, allocations: 19.98 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.742e-05/0.01295, allocations: 47.33 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.507e-05/0.01305, allocations: 75.3 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01305, allocations: 4 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001863/0.01324, allocations: 145.4 kB / 386.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.01325, allocations: 4 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01326, allocations: 0 / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.01328, allocations: 7.938 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01343, allocations: 47.91 kB / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01344, allocations: 224 / 386.8 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.01352, allocations: 19.98 kB / 386.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.01353, allocations: 15.92 kB / 386.8 MB, free: 9.777 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 0.0001337/0.01366, allocations: 160.6 kB / 387 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.02e-05/0.01372, allocations: 51.66 kB / 387 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007243/0.01445, allocations: 173 kB / 387.2 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.01446, allocations: 7.938 kB / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01446, allocations: 0 / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01446, allocations: 0 / 387.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.01511, allocations: 0.6143 MB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.01512, allocations: 3.984 kB / 387.8 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.01524, allocations: 47.97 kB / 387.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.01525, allocations: 3.938 kB / 387.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01526, allocations: 4.75 kB / 387.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.01526, allocations: 4 kB / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.01527, allocations: 0 / 387.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.01561, allocations: 420.9 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/0.01567, allocations: 39.66 kB / 388.3 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.01569, allocations: 8 kB / 388.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.0158, allocations: 19.97 kB / 388.4 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.58e-05/0.01589, allocations: 27.97 kB / 388.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.0159, allocations: 4 kB / 388.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002133/0.01611, allocations: 303 kB / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01611, allocations: 0 / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.01637, allocations: 55.92 kB / 388.7 MB, free: 7.789 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.001062/0.01744, allocations: 385.7 kB / 389.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.01764, allocations: 83.56 kB / 389.2 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.01764, allocations: 4 kB / 389.2 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.682e-05/0.01772, allocations: 55.58 kB / 389.3 MB, free: 7.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.01821, allocations: 67.52 kB / 389.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.01924, allocations: 0.6001 MB / 389.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.01935, allocations: 112.3 kB / 390 MB, free: 6.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.835e-05/0.01945, allocations: 42.25 kB / 390.1 MB, free: 6.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.01959, allocations: 118.2 kB / 390.2 MB, free: 6.422 MB / 362.7 MB Notification: Performance of SimCode: time 1.824e-06/0.0196, allocations: 0 / 390.2 MB, free: 6.422 MB / 362.7 MB Notification: Performance of Templates: time 0.008396/0.02799, allocations: 4.134 MB / 394.3 MB, free: 2.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.8165159970521927]