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.001332/0.001332, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00158/0.00158, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2646/0.2646, allocations: 46.94 MB / 361.7 MB, free: 4.223 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 63.91 kB / 0.4969 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 66.04 MB / 0.5614 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003619/0.3662, allocations: 2.033 MB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.3678, allocations: 0.8154 MB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.3679, allocations: 4 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.3684, allocations: 183.4 kB / 0.5644 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.3689, allocations: 211.1 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009484/0.3699, allocations: 417.9 kB / 0.565 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.3703, allocations: 299.1 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3704, allocations: 62.64 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3706, allocations: 127.5 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.3709, allocations: 175.3 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.3709, allocations: 15.98 kB / 0.5656 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.371, allocations: 47.92 kB / 0.5657 GB, free: 56 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.3712, allocations: 171.5 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.3714, allocations: 194.4 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.3719, allocations: 437.8 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3719, allocations: 4 kB / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3719, allocations: 0 / 0.5665 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3719, allocations: 0 / 0.5665 GB, free: 15.26 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.001363/0.3733, allocations: 0.8262 MB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3734, allocations: 8.031 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.278e-05/0.3734, allocations: 4.188 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.3734, allocations: 42.73 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3735, allocations: 68.52 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.3742, allocations: 475 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3743, allocations: 8.375 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3743, allocations: 20.08 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000454/0.3747, allocations: 151.3 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3748, allocations: 0 / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3748, allocations: 8 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3748, allocations: 4 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.3753, allocations: 127.8 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.3766, allocations: 0.7143 MB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.377, allocations: 141.1 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.3772, allocations: 77.78 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.94e-05/0.3773, allocations: 8.203 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.3773, allocations: 30.56 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.3773, allocations: 3.938 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002825/0.3801, allocations: 0.8269 MB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.3802, allocations: 81.11 kB / 0.57 GB, free: 11.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.3816, allocations: 1.074 MB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3816, allocations: 29.7 kB / 0.5711 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.3819, allocations: 304.3 kB / 0.5713 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.288e-05/0.3819, allocations: 63.47 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.749e-05/0.382, allocations: 29.7 kB / 0.5714 GB, free: 9.949 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3822, allocations: 318 kB / 0.5717 GB, free: 9.633 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.3827, allocations: 115.9 kB / 0.5719 GB, free: 9.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005008/0.3832, allocations: 137.6 kB / 0.572 GB, free: 9.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/0.3841, allocations: 257.4 kB / 0.5722 GB, free: 9.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3841, allocations: 3.938 kB / 0.5722 GB, free: 9.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001156/0.3853, allocations: 353 kB / 0.5726 GB, free: 8.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3853, allocations: 8 kB / 0.5726 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3853, allocations: 0 / 0.5726 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3853, allocations: 0 / 0.5726 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.3857, allocations: 67.94 kB / 0.5726 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3857, allocations: 192 / 0.5726 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.386, allocations: 39.94 kB / 0.5727 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.386, allocations: 11.94 kB / 0.5727 GB, free: 8.641 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.0002921/0.3863, allocations: 233.6 kB / 0.5729 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.3865, allocations: 67.53 kB / 0.573 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.3877, allocations: 398.8 kB / 0.5734 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.3877, allocations: 7.984 kB / 0.5734 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3877, allocations: 0 / 0.5734 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3877, allocations: 0 / 0.5734 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.3896, allocations: 0.9259 MB / 0.5743 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3896, allocations: 4 kB / 0.5743 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.39, allocations: 68.56 kB / 0.5743 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.39, allocations: 8 kB / 0.5743 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.39, allocations: 0 / 0.5743 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.39, allocations: 4 kB / 0.5743 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.39, allocations: 3.938 kB / 0.5744 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.3913, allocations: 0.52 MB / 0.5749 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.3915, allocations: 99.53 kB / 0.575 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.3915, allocations: 0 / 0.575 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.3919, allocations: 39.95 kB / 0.575 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/0.392, allocations: 27.89 kB / 0.575 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.392, allocations: 11.94 kB / 0.575 GB, free: 6.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.3931, allocations: 0.788 MB / 0.5758 GB, free: 5.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3931, allocations: 0 / 0.5758 GB, free: 5.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000431/0.3935, allocations: 63.98 kB / 0.5759 GB, free: 5.312 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.003229/0.3968, allocations: 1.362 MB / 0.5772 GB, free: 4.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3978, allocations: 267.7 kB / 0.5774 GB, free: 3.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3978, allocations: 3.938 kB / 0.5775 GB, free: 3.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004976/0.3983, allocations: 135.8 kB / 0.5776 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.3991, allocations: 100.9 kB / 0.5777 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00955/0.4087, allocations: 6.07 MB / 0.5836 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.4092, allocations: 0.8816 MB / 0.5845 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.4094, allocations: 95.3 kB / 0.5846 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/0.4097, allocations: 183.4 kB / 0.5847 GB, free: 12.24 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4097, allocations: 0 / 0.5847 GB, free: 12.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.4472, allocations: 11.79 MB / 0.5962 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.58, allocations: 7.922 kB / 0.5962 GB, free: 0.5508 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] [Calling os._exit(0), Time elapsed: 15.713546085986309] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 12.802912782004569 12.830067995 12.453994864 Calling exit ...