Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.007795/0.007795, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001839/0.001839, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.431/1.431, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2315/0.2315, allocations: 46.93 MB / 362.3 MB, free: 4.219 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.CombiTable2Ds.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.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-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.003283/0.003283, allocations: 83.86 kB / 0.4982 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4158, allocations: 66.09 MB / 0.5628 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003869/0.4197, allocations: 2.033 MB / 0.5647 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.4213, allocations: 0.8226 MB / 0.5655 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.4214, allocations: 0 / 0.5655 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005134/0.4219, allocations: 179.4 kB / 0.5657 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.4224, allocations: 215.1 kB / 0.5659 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000983/0.4234, allocations: 417.5 kB / 0.5663 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004956/0.4239, allocations: 303.1 kB / 0.5666 GB, free: 316 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.4241, allocations: 52.56 kB / 0.5667 GB, free: 264 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.4243, allocations: 131.4 kB / 0.5668 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.4245, allocations: 183.3 kB / 0.567 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.4246, allocations: 16 kB / 0.567 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.4247, allocations: 35.98 kB / 0.567 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.4249, allocations: 167.5 kB / 0.5672 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.4251, allocations: 186.5 kB / 0.5673 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005415/0.4256, allocations: 424.6 kB / 0.5677 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4256, allocations: 0 / 0.5677 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4256, allocations: 8 kB / 0.5678 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4256, allocations: 0 / 0.5678 GB, free: 15.13 MB / 414.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.001262/0.4269, allocations: 0.7835 MB / 0.5685 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4269, allocations: 8.031 kB / 0.5685 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.427, allocations: 64.52 kB / 0.5686 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.4277, allocations: 459.1 kB / 0.569 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4277, allocations: 8.375 kB / 0.569 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.4278, allocations: 16.38 kB / 0.5691 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.4282, allocations: 147.9 kB / 0.5692 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.4282, allocations: 4.125 kB / 0.5692 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.4283, allocations: 3.938 kB / 0.5692 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.4283, allocations: 4 kB / 0.5692 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.4287, allocations: 135.9 kB / 0.5693 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.4299, allocations: 0.6987 MB / 0.57 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.4302, allocations: 133.1 kB / 0.5701 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.4305, allocations: 77.78 kB / 0.5702 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.4305, allocations: 224 / 0.5702 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.4305, allocations: 42.5 kB / 0.5703 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.4305, allocations: 3.938 kB / 0.5703 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002587/0.4331, allocations: 0.823 MB / 0.5711 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.4332, allocations: 81.11 kB / 0.5711 GB, free: 11.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.4346, allocations: 1.055 MB / 0.5722 GB, free: 10.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.4346, allocations: 25.7 kB / 0.5722 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.4349, allocations: 280.4 kB / 0.5725 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/0.435, allocations: 63.42 kB / 0.5725 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.4351, allocations: 37.7 kB / 0.5726 GB, free: 9.992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4352, allocations: 314 kB / 0.5729 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004221/0.4356, allocations: 119.9 kB / 0.573 GB, free: 9.562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004199/0.436, allocations: 133.6 kB / 0.5731 GB, free: 9.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.4369, allocations: 261.4 kB / 0.5734 GB, free: 9.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4369, allocations: 0 / 0.5734 GB, free: 9.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009936/0.4379, allocations: 361 kB / 0.5737 GB, free: 8.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4379, allocations: 4 kB / 0.5737 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4379, allocations: 0 / 0.5737 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4379, allocations: 4 kB / 0.5737 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.4382, allocations: 63.88 kB / 0.5738 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4383, allocations: 0 / 0.5738 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.4385, allocations: 43.94 kB / 0.5738 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.4385, allocations: 4 kB / 0.5738 GB, free: 8.688 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.0002847/0.4388, allocations: 226 kB / 0.574 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4389, allocations: 67.52 kB / 0.5741 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.44, allocations: 406.4 kB / 0.5745 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.44, allocations: 7.984 kB / 0.5745 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4401, allocations: 0 / 0.5745 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4401, allocations: 4 kB / 0.5745 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.4418, allocations: 0.9064 MB / 0.5754 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4418, allocations: 0 / 0.5754 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.4421, allocations: 71.81 kB / 0.5754 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4421, allocations: 0 / 0.5754 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4421, allocations: 4 kB / 0.5754 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.4421, allocations: 0.75 kB / 0.5754 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4421, allocations: 4 kB / 0.5755 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4432, allocations: 0.5273 MB / 0.576 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.4434, allocations: 79.61 kB / 0.576 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.4434, allocations: 0 / 0.576 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.4437, allocations: 35.95 kB / 0.5761 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.044e-05/0.4438, allocations: 31.95 kB / 0.5761 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.4438, allocations: 4 kB / 0.5761 GB, free: 6.246 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000979/0.4448, allocations: 0.7723 MB / 0.5769 GB, free: 5.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4448, allocations: 4 kB / 0.5769 GB, free: 5.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000382/0.4452, allocations: 56 kB / 0.5769 GB, free: 5.422 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.001531/0.4467, allocations: 398.9 kB / 0.5773 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009699/0.4477, allocations: 278.2 kB / 0.5776 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4477, allocations: 7.938 kB / 0.5776 GB, free: 4.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.4481, allocations: 135.8 kB / 0.5777 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.4488, allocations: 90.7 kB / 0.5778 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4504, allocations: 1.041 MB / 0.5788 GB, free: 3.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.451, allocations: 0.8737 MB / 0.5797 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.4511, allocations: 47.42 kB / 0.5797 GB, free: 2.637 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4511, allocations: 0 / 0.5797 GB, free: 2.637 MB / 414.1 MB Notification: Performance of Templates: time 0.01085/0.462, allocations: 6.543 MB / 0.5861 GB, free: 12.11 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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: 8.206133825937286]