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.001537/0.001537, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001551/0.001551, allocations: 214.3 kB / 23.74 MB, free: 4.656 MB / 14.72 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 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.24/0.24, allocations: 46.93 MB / 360.9 MB, free: 4.277 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+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 71.89 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4026, allocations: 66.03 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004473/0.407, allocations: 2.033 MB / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.4086, allocations: 0.8076 MB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.4087, allocations: 4 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.4092, allocations: 183.4 kB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.4097, allocations: 219.1 kB / 0.5638 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009557/0.4107, allocations: 414.1 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.4111, allocations: 307 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.4113, allocations: 50.72 kB / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.4114, allocations: 123.5 kB / 0.5647 GB, free: 348 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.4117, allocations: 183.3 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.4117, allocations: 12 kB / 0.5649 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.4118, allocations: 47.92 kB / 0.5649 GB, free: 104 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.412, allocations: 171.5 kB / 0.5651 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.4122, allocations: 194.4 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.4128, allocations: 445.8 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4128, allocations: 0 / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4128, allocations: 0 / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.4128, allocations: 0 / 0.5657 GB, free: 15.3 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.00144/0.4143, allocations: 0.8223 MB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4143, allocations: 8.031 kB / 0.5665 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.504e-05/0.4144, allocations: 50.73 kB / 0.5665 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.4145, allocations: 64.52 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.4152, allocations: 471.1 kB / 0.5671 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.4153, allocations: 8.375 kB / 0.5671 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.4153, allocations: 16.33 kB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004187/0.4157, allocations: 160.8 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4157, allocations: 4 kB / 0.5672 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.4157, allocations: 4 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4158, allocations: 0 / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.4162, allocations: 139.8 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.4174, allocations: 0.7182 MB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.4178, allocations: 125.4 kB / 0.5682 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.4181, allocations: 81.72 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.4181, allocations: 3.938 kB / 0.5683 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.4182, allocations: 42.55 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4182, allocations: 0 / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002692/0.4209, allocations: 0.8307 MB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.4209, allocations: 77.11 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.4223, allocations: 1.075 MB / 0.5703 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.4223, allocations: 25.7 kB / 0.5703 GB, free: 10.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.4226, allocations: 292.3 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.4227, allocations: 67.47 kB / 0.5706 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.4227, allocations: 37.7 kB / 0.5707 GB, free: 9.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4229, allocations: 317.9 kB / 0.571 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.4233, allocations: 115.9 kB / 0.5711 GB, free: 9.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/0.4237, allocations: 137.6 kB / 0.5712 GB, free: 9.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008063/0.4246, allocations: 253.5 kB / 0.5714 GB, free: 9.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4246, allocations: 3.938 kB / 0.5714 GB, free: 9.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009916/0.4256, allocations: 364.9 kB / 0.5718 GB, free: 8.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4256, allocations: 4 kB / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4256, allocations: 0 / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4256, allocations: 0 / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.4259, allocations: 64.69 kB / 0.5719 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4259, allocations: 4 kB / 0.5719 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.4262, allocations: 39.94 kB / 0.5719 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.4263, allocations: 4 kB / 0.5719 GB, free: 8.691 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.0003504/0.4266, allocations: 237.6 kB / 0.5721 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.4268, allocations: 71.53 kB / 0.5722 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.428, allocations: 402.8 kB / 0.5726 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.428, allocations: 0 / 0.5726 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.428, allocations: 8 kB / 0.5726 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.428, allocations: 3.984 kB / 0.5726 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.4298, allocations: 0.9298 MB / 0.5735 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4298, allocations: 0 / 0.5735 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.4302, allocations: 67.88 kB / 0.5736 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4302, allocations: 0 / 0.5736 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.4302, allocations: 8 kB / 0.5736 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4302, allocations: 0 / 0.5736 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4302, allocations: 3.938 kB / 0.5736 GB, free: 6.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4313, allocations: 0.5215 MB / 0.5741 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.4315, allocations: 87.55 kB / 0.5742 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.4315, allocations: 4 kB / 0.5742 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4318, allocations: 47.94 kB / 0.5742 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.4319, allocations: 23.91 kB / 0.5742 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.4319, allocations: 4 kB / 0.5743 GB, free: 6.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009689/0.4329, allocations: 0.788 MB / 0.575 GB, free: 5.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4329, allocations: 4.219 kB / 0.575 GB, free: 5.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.4333, allocations: 63.98 kB / 0.5751 GB, free: 5.355 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.002848/0.4361, allocations: 1.368 MB / 0.5764 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009487/0.4371, allocations: 263.7 kB / 0.5767 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.4371, allocations: 0 / 0.5767 GB, free: 3.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.4375, allocations: 144 kB / 0.5768 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.4383, allocations: 99.94 kB / 0.5769 GB, free: 3.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009612/0.4479, allocations: 6.066 MB / 0.5828 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.4485, allocations: 0.8816 MB / 0.5837 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.4488, allocations: 99.59 kB / 0.5838 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.4491, allocations: 187.4 kB / 0.584 GB, free: 12.28 MB / 430.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4491, allocations: 0 / 0.584 GB, free: 12.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04367/0.4927, allocations: 11.76 MB / 0.5955 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.45, allocations: 7.422 kB / 0.5955 GB, free: 0.6016 MB / 430.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_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: 15.592860707081854]