Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001469/0.001469, allocations: 114 kB / 20.43 MB, free: 1.457 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.001655/0.001655, allocations: 214 kB / 23.74 MB, free: 4.672 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.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2394/0.2394, allocations: 46.92 MB / 360.8 MB, free: 4.168 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002577/0.002577, allocations: 79.88 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3647, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003605/0.3683, allocations: 1.886 MB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3698, allocations: 0.7252 MB / 0.5633 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/0.3699, allocations: 4 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.3704, allocations: 179.5 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.3708, allocations: 175.3 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.3716, allocations: 331.9 kB / 0.564 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.3719, allocations: 235.4 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001877/0.3721, allocations: 47.59 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3722, allocations: 111.5 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.3725, allocations: 159.5 kB / 0.5645 GB, free: 468 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3725, allocations: 12 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3726, allocations: 32 kB / 0.5645 GB, free: 424 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.3728, allocations: 119.6 kB / 0.5646 GB, free: 304 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.3729, allocations: 131 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.3734, allocations: 306.6 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3734, allocations: 0 / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3734, allocations: 0 / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.3734, allocations: 7.922 kB / 0.5651 GB, free: 15.86 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.001092/0.3745, allocations: 0.6052 MB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3745, allocations: 8.031 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.3746, allocations: 42.73 kB / 0.5657 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.78e-05/0.3747, allocations: 44.7 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.3751, allocations: 316.6 kB / 0.566 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3752, allocations: 8.375 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.3752, allocations: 12.38 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.3757, allocations: 167.8 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.3757, allocations: 3.938 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.3757, allocations: 7.938 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.3758, allocations: 7.984 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.3763, allocations: 155.8 kB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.3775, allocations: 0.6167 MB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.3779, allocations: 145.1 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.3782, allocations: 77.78 kB / 0.5672 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.3782, allocations: 11.98 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.3783, allocations: 34.55 kB / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.3783, allocations: 0 / 0.5673 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002781/0.3811, allocations: 0.8047 MB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.3811, allocations: 77.11 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007419/0.3819, allocations: 0.6033 MB / 0.5687 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.3819, allocations: 29.7 kB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.3821, allocations: 200.4 kB / 0.5689 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.3822, allocations: 71.41 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-05/0.3823, allocations: 33.72 kB / 0.569 GB, free: 11.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3825, allocations: 354.8 kB / 0.5694 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004567/0.3829, allocations: 131.9 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.3834, allocations: 161.6 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.3843, allocations: 293.7 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3843, allocations: 0 / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001051/0.3853, allocations: 377.1 kB / 0.5703 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.3854, allocations: 8 kB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.3854, allocations: 4 kB / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3854, allocations: 0 / 0.5703 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.3857, allocations: 67.92 kB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3857, allocations: 0 / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.386, allocations: 39.95 kB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.386, allocations: 4 kB / 0.5704 GB, free: 10.14 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.0002203/0.3862, allocations: 193.7 kB / 0.5706 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.3863, allocations: 43.7 kB / 0.5706 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.3875, allocations: 424.7 kB / 0.571 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3875, allocations: 4 kB / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3875, allocations: 0 / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.3875, allocations: 0 / 0.571 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.3893, allocations: 0.8792 MB / 0.5719 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3893, allocations: 96 / 0.5719 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.3896, allocations: 67.81 kB / 0.572 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3896, allocations: 4 kB / 0.572 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.3896, allocations: 8 kB / 0.572 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3896, allocations: 0 / 0.572 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3896, allocations: 0 / 0.572 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.3908, allocations: 0.5334 MB / 0.5725 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3909, allocations: 51.7 kB / 0.5725 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.3909, allocations: 4 kB / 0.5725 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.3912, allocations: 43.94 kB / 0.5726 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.3913, allocations: 23.91 kB / 0.5726 GB, free: 7.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.3913, allocations: 7.938 kB / 0.5726 GB, free: 7.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005286/0.3918, allocations: 451.1 kB / 0.573 GB, free: 7.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3918, allocations: 3.938 kB / 0.573 GB, free: 7.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.3922, allocations: 55.92 kB / 0.5731 GB, free: 7.297 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.00289/0.3951, allocations: 1.377 MB / 0.5744 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3961, allocations: 299.7 kB / 0.5747 GB, free: 5.742 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3961, allocations: 0 / 0.5747 GB, free: 5.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.3966, allocations: 159.8 kB / 0.5749 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.3972, allocations: 48.52 kB / 0.5749 GB, free: 5.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007005/0.4042, allocations: 4.334 MB / 0.5792 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.4048, allocations: 0.822 MB / 0.58 GB, free: 268 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.405, allocations: 66.25 kB / 0.58 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.4052, allocations: 127.4 kB / 0.5802 GB, free: 76 kB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4052, allocations: 0 / 0.5802 GB, free: 76 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0411/0.4463, allocations: 8.15 MB / 0.5881 GB, free: 7.969 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.92, allocations: 2.5 kB / 0.5881 GB, free: 7.969 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 15.079835974844173]