Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001041/0.001041, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001276/0.001276, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9904/0.9904, allocations: 177.1 MB / 205 MB, free: 5.621 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.251/0.251, allocations: 34.26 MB / 295.7 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable2Ds.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.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_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.977e-05, allocations: 6.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003239/0.003259, allocations: 2.023 MB / 380.1 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.004696, allocations: 0.802 MB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.004803, allocations: 4 kB / 380.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.005317, allocations: 179.3 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.005825, allocations: 223 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.006474, allocations: 407 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.006753, allocations: 303.1 kB / 382 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.00688, allocations: 52.84 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.007022, allocations: 155.5 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.00717, allocations: 159.6 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.007196, allocations: 16 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.007273, allocations: 47.91 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.007419, allocations: 171.5 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.007538, allocations: 95.56 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.007829, allocations: 326.6 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.007832, allocations: 4 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.007833, allocations: 0 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.007838, allocations: 0 / 383 MB, free: 13.73 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.0007335/0.008572, allocations: 0.8717 MB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.008605, allocations: 8.031 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.008681, allocations: 76.52 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.008991, allocations: 385.2 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.009001, allocations: 8.375 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.009026, allocations: 12.36 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.009224, allocations: 138.1 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.009235, allocations: 4.188 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.009248, allocations: 4.125 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.009254, allocations: 4 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.009324, allocations: 31.97 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.009931, allocations: 0.7052 MB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.01007, allocations: 102.2 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.01011, allocations: 31.48 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.01013, allocations: 4 kB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.01015, allocations: 41.33 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.01015, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.00074/0.01089, allocations: 499.3 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.01092, allocations: 81.11 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.01146, allocations: 0.7534 MB / 386.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.01147, allocations: 25.7 kB / 386.7 MB, free: 9.754 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.01164, allocations: 351.1 kB / 387.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.01169, allocations: 63.48 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.01174, allocations: 35.38 kB / 387.2 MB, free: 9.297 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.01186, allocations: 496.4 kB / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.01191, allocations: 23.98 kB / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.01197, allocations: 47.36 kB / 387.7 MB, free: 8.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.01208, allocations: 87.41 kB / 387.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01208, allocations: 3.938 kB / 387.8 MB, free: 8.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000203/0.01228, allocations: 181.2 kB / 388 MB, free: 8.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.0123, allocations: 8 kB / 388 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.0123, allocations: 7.922 kB / 388 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01232, allocations: 0 / 388 MB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.01245, allocations: 47.95 kB / 388 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01246, allocations: 4 kB / 388 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.01254, allocations: 28.09 kB / 388.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01255, allocations: 4 kB / 388.1 MB, free: 8.348 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.99e-05/0.01264, allocations: 176.4 kB / 388.2 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.0127, allocations: 63.62 kB / 388.3 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.01295, allocations: 206.9 kB / 388.5 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01295, allocations: 4 kB / 388.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01296, allocations: 0 / 388.5 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01296, allocations: 3.984 kB / 388.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.01361, allocations: 0.7814 MB / 389.3 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.01361, allocations: 4 kB / 389.3 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.01371, allocations: 47.91 kB / 389.4 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01372, allocations: 8 kB / 389.4 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.01372, allocations: 0.75 kB / 389.4 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01373, allocations: 4 kB / 389.4 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01373, allocations: 0 / 389.4 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.01399, allocations: 456.4 kB / 389.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.01404, allocations: 71.56 kB / 389.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.01407, allocations: 4 kB / 389.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.01417, allocations: 27.97 kB / 389.9 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.01423, allocations: 15.97 kB / 389.9 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.01424, allocations: 16 kB / 389.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.01458, allocations: 498.9 kB / 390.4 MB, free: 5.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01458, allocations: 0 / 390.4 MB, free: 5.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01482, allocations: 67.94 kB / 390.5 MB, free: 5.852 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.0008771/0.01569, allocations: 378.4 kB / 390.9 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.01588, allocations: 95.56 kB / 391 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01588, allocations: 0 / 391 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.01596, allocations: 59.59 kB / 391 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01636, allocations: 110.7 kB / 391.1 MB, free: 5.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.01724, allocations: 0.8358 MB / 392 MB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.01734, allocations: 149.1 kB / 392.1 MB, free: 4.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.01746, allocations: 71.2 kB / 392.2 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.698e-05/0.01755, allocations: 48.48 kB / 392.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01755, allocations: 0 / 392.2 MB, free: 4.199 MB / 362.7 MB Notification: Performance of Templates: time 0.00792/0.02547, allocations: 5.823 MB / 398 MB, free: 14.42 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.278065570164472]