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.001352/0.001352, allocations: 84.34 kB / 20.95 MB, free: 3.461 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.001507/0.001507, allocations: 157.3 kB / 24.26 MB, free: 152 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 1.525/1.525, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3402/0.3402, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.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 1.723e-06/1.723e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.26e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003955/0.003988, allocations: 1.837 MB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.005584, allocations: 0.693 MB / 379.8 MB, free: 412 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.005723, allocations: 4 kB / 379.8 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.006258, allocations: 171.4 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005661/0.006824, allocations: 183.2 kB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.007712, allocations: 327.3 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004296/0.008141, allocations: 243.2 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.008353, allocations: 41.78 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.008621, allocations: 131.6 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.008881, allocations: 143.7 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.008929, allocations: 12 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.009059, allocations: 39.92 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.009232, allocations: 111.7 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.009354, allocations: 67.7 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.009843, allocations: 279 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.009848, allocations: 4 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.00985, allocations: 0 / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.009863, allocations: 4 kB / 381.5 MB, free: 14.67 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.001626/0.01149, allocations: 0.5896 MB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.01154, allocations: 12.03 kB / 382.2 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.01167, allocations: 44.66 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.01225, allocations: 307.9 kB / 382.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.01226, allocations: 8.375 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.618e-05/0.01231, allocations: 20.33 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.01282, allocations: 174.1 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.01284, allocations: 4.188 kB / 382.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.01286, allocations: 4.125 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.01287, allocations: 4 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/0.01345, allocations: 151.8 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.0146, allocations: 0.5627 MB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.01506, allocations: 141.2 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.01537, allocations: 81.77 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.0154, allocations: 4 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.01544, allocations: 38.5 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.01544, allocations: 0 / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.003155/0.0186, allocations: 0.797 MB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.01867, allocations: 81.05 kB / 384.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.01952, allocations: 0.5916 MB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.01956, allocations: 29.7 kB / 385.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.01975, allocations: 196.5 kB / 385.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.01984, allocations: 63.44 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.01993, allocations: 33.7 kB / 385.5 MB, free: 10.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.02016, allocations: 354.8 kB / 385.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.02068, allocations: 135.9 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.02122, allocations: 153.7 kB / 386.1 MB, free: 9.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.02226, allocations: 301.5 kB / 386.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.02226, allocations: 0 / 386.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001257/0.02352, allocations: 369.1 kB / 386.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.02354, allocations: 4 kB / 386.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.02355, allocations: 15.92 kB / 386.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.02357, allocations: 0 / 386.8 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.02395, allocations: 63.94 kB / 386.8 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.02395, allocations: 0 / 386.8 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.02423, allocations: 35.94 kB / 386.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.02426, allocations: 15.98 kB / 386.9 MB, free: 9.133 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.000241/0.0245, allocations: 189.7 kB / 387.1 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.02462, allocations: 43.72 kB / 387.1 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.02599, allocations: 420.6 kB / 387.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.026, allocations: 4 kB / 387.5 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.02601, allocations: 112 / 387.5 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.02601, allocations: 3.938 kB / 387.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.02803, allocations: 0.8136 MB / 388.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02803, allocations: 4 kB / 388.3 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.02836, allocations: 67.88 kB / 388.4 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.02837, allocations: 0 / 388.4 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.02839, allocations: 4 kB / 388.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.0284, allocations: 7.984 kB / 388.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0284, allocations: 0 / 388.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.02972, allocations: 0.5354 MB / 389 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.02983, allocations: 43.75 kB / 389 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/0.02989, allocations: 4 kB / 389 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.0302, allocations: 31.95 kB / 389 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.03029, allocations: 27.91 kB / 389.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.03032, allocations: 11.98 kB / 389.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008691/0.03119, allocations: 439.1 kB / 389.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03119, allocations: 0 / 389.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004061/0.03159, allocations: 51.95 kB / 389.5 MB, free: 6.387 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.002105/0.0337, allocations: 438.6 kB / 390 MB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.03491, allocations: 303.6 kB / 390.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.03491, allocations: 0 / 390.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005761/0.03549, allocations: 163.7 kB / 390.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.03612, allocations: 53.56 kB / 390.5 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.03759, allocations: 0.733 MB / 391.2 MB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.03788, allocations: 211.5 kB / 391.4 MB, free: 4.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.03809, allocations: 74.55 kB / 391.5 MB, free: 4.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.03821, allocations: 32.48 kB / 391.5 MB, free: 4.535 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.03821, allocations: 0 / 391.5 MB, free: 4.535 MB / 362.7 MB Notification: Performance of Templates: time 0.01025/0.04846, allocations: 3.832 MB / 395.4 MB, free: 0.7422 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.869124193006428]