Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001605/0.001605, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001859/0.001859, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.594/1.594, allocations: 230.3 MB / 258 MB, free: 8.172 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2348/0.2348, allocations: 46.94 MB / 361.4 MB, free: 4.371 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 75.88 kB / 0.4972 GB, free: 7.48 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3983, allocations: 66.04 MB / 0.5617 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.00398/0.4023, allocations: 1.909 MB / 0.5635 GB, free: 2.59 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001534/0.4039, allocations: 0.7174 MB / 0.5642 GB, free: 1.871 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.624e-05/0.4039, allocations: 4 kB / 0.5642 GB, free: 1.867 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.4045, allocations: 183.4 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.4049, allocations: 171.4 kB / 0.5646 GB, free: 1.52 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.4057, allocations: 333.9 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003377/0.4061, allocations: 235.4 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.4062, allocations: 45.44 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.4064, allocations: 103.6 kB / 0.5653 GB, free: 0.8242 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.4066, allocations: 159.5 kB / 0.5654 GB, free: 0.668 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.4066, allocations: 12 kB / 0.5654 GB, free: 0.6562 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.4067, allocations: 43.92 kB / 0.5655 GB, free: 0.6133 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.4069, allocations: 107.7 kB / 0.5656 GB, free: 0.5078 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000145/0.407, allocations: 131 kB / 0.5657 GB, free: 388 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.4075, allocations: 297.4 kB / 0.566 GB, free: 92 kB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4075, allocations: 0 / 0.566 GB, free: 92 kB / 398.1 MB
Notification: Performance of FrontEnd: time 1.713e-06/0.4075, allocations: 0 / 0.566 GB, free: 92 kB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.464e-06/0.4075, allocations: 0 / 0.566 GB, free: 92 kB / 398.1 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.00112/0.4086, allocations: 0.5937 MB / 0.5666 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4086, allocations: 8.031 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.4087, allocations: 48.66 kB / 0.5666 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.4092, allocations: 304.6 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.4092, allocations: 8.375 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.4093, allocations: 8.375 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004723/0.4098, allocations: 167.8 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4098, allocations: 192 / 0.5671 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.4098, allocations: 15.94 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4098, allocations: 3.938 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/0.4103, allocations: 151.8 kB / 0.5672 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.4114, allocations: 0.6128 MB / 0.5678 GB, free: 14.06 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.4118, allocations: 145.1 kB / 0.568 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.4121, allocations: 77.78 kB / 0.568 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.4121, allocations: 7.984 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.4122, allocations: 34.56 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4122, allocations: 0 / 0.5681 GB, free: 13.77 MB / 414.1 MB
Notification: Performance of matching and sorting (n=18): time 0.002637/0.4148, allocations: 0.7969 MB / 0.5689 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.4149, allocations: 85.05 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.4156, allocations: 0.58 MB / 0.5695 GB, free: 12.26 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4156, allocations: 29.64 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.4158, allocations: 204.4 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.4158, allocations: 63.44 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.4159, allocations: 33.7 kB / 0.5698 GB, free: 11.92 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001892/0.4161, allocations: 354.8 kB / 0.5702 GB, free: 11.56 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.4165, allocations: 131.9 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.4169, allocations: 159.9 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008661/0.4178, allocations: 297.6 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4178, allocations: 224 / 0.5707 GB, free: 10.98 MB / 414.1 MB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009858/0.4188, allocations: 369.1 kB / 0.5711 GB, free: 10.61 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.4188, allocations: 7.938 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4188, allocations: 4 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.4188, allocations: 0 / 0.5711 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.4192, allocations: 71.92 kB / 0.5712 GB, free: 10.53 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4192, allocations: 3.938 kB / 0.5712 GB, free: 10.52 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.4194, allocations: 35.95 kB / 0.5712 GB, free: 10.49 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.4194, allocations: 11.98 kB / 0.5712 GB, free: 10.48 MB / 414.1 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.0002148/0.4196, allocations: 181.8 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.4197, allocations: 47.66 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.4208, allocations: 416.7 kB / 0.5718 GB, free: 9.832 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4209, allocations: 4.188 kB / 0.5718 GB, free: 9.828 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4209, allocations: 0 / 0.5718 GB, free: 9.828 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4209, allocations: 7.875 kB / 0.5718 GB, free: 9.82 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.4226, allocations: 0.8713 MB / 0.5727 GB, free: 8.898 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4226, allocations: 0 / 0.5727 GB, free: 8.898 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.4229, allocations: 75.86 kB / 0.5728 GB, free: 8.824 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.423, allocations: 0 / 0.5728 GB, free: 8.824 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.423, allocations: 4 kB / 0.5728 GB, free: 8.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.423, allocations: 0 / 0.5728 GB, free: 8.82 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.423, allocations: 3.984 kB / 0.5728 GB, free: 8.816 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.424, allocations: 0.537 MB / 0.5733 GB, free: 8.266 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.4241, allocations: 43.75 kB / 0.5733 GB, free: 8.223 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.4242, allocations: 4 kB / 0.5733 GB, free: 8.219 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.4245, allocations: 39.95 kB / 0.5734 GB, free: 8.18 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.4245, allocations: 23.95 kB / 0.5734 GB, free: 8.156 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4246, allocations: 4 kB / 0.5734 GB, free: 8.152 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0005263/0.4251, allocations: 443 kB / 0.5738 GB, free: 7.727 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4251, allocations: 0 / 0.5738 GB, free: 7.727 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0003585/0.4254, allocations: 55.92 kB / 0.5739 GB, free: 7.672 MB / 414.1 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.001596/0.427, allocations: 405.5 kB / 0.5743 GB, free: 7.406 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001019/0.4281, allocations: 303.6 kB / 0.5746 GB, free: 7.109 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4281, allocations: 0 / 0.5746 GB, free: 7.109 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.4285, allocations: 155.8 kB / 0.5747 GB, free: 6.957 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.4291, allocations: 61.78 kB / 0.5748 GB, free: 6.902 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.4304, allocations: 0.7097 MB / 0.5755 GB, free: 6.16 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.4309, allocations: 0.8182 MB / 0.5763 GB, free: 5.316 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001701/0.4311, allocations: 66.23 kB / 0.5763 GB, free: 5.254 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.386e-05/0.4312, allocations: 31.44 kB / 0.5764 GB, free: 5.223 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.4312, allocations: 4 kB / 0.5764 GB, free: 5.219 MB / 414.1 MB
Notification: Performance of Templates: time 0.009255/0.4405, allocations: 3.779 MB / 0.58 GB, free: 1.453 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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: 5.319412913173437]