Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.00177/0.00177, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.002071/0.002071, allocations: 209.2 kB / 24.52 MB, free: 4.137 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2368/0.2368, allocations: 46.94 MB / 361.6 MB, free: 4.273 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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.84 kB / 0.497 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3589, allocations: 66.03 MB / 0.5614 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003694/0.3626, allocations: 1.894 MB / 0.5633 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3639, allocations: 0.7219 MB / 0.564 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.364, allocations: 4 kB / 0.564 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.3646, allocations: 175.4 kB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004371/0.365, allocations: 179.3 kB / 0.5643 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.3658, allocations: 338.8 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.3661, allocations: 235.4 kB / 0.5649 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3663, allocations: 47.59 kB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3664, allocations: 99.67 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.3667, allocations: 159.5 kB / 0.5652 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3667, allocations: 12 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3668, allocations: 43.91 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.367, allocations: 111.6 kB / 0.5653 GB, free: 492 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.3671, allocations: 135 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.3675, allocations: 310.5 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3675, allocations: 0 / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3675, allocations: 0 / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3675, allocations: 0 / 0.5658 GB, free: 44 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.001069/0.3686, allocations: 0.6091 MB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3687, allocations: 8.031 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.251e-05/0.3687, allocations: 8.188 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.3687, allocations: 38.75 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.3688, allocations: 36.7 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.3693, allocations: 316.6 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3693, allocations: 8.375 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-05/0.3694, allocations: 16.11 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.3698, allocations: 176.8 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3698, allocations: 4 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3699, allocations: 0 / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3699, allocations: 4 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000576/0.3704, allocations: 147.8 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.3716, allocations: 0.6206 MB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.372, allocations: 149.1 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.3723, allocations: 81.77 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.3723, allocations: 4 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3723, allocations: 30.56 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3723, allocations: 4 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002881/0.3752, allocations: 0.8083 MB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.3753, allocations: 81.11 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007215/0.376, allocations: 0.5956 MB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.376, allocations: 33.7 kB / 0.5694 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3762, allocations: 196.4 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.3763, allocations: 67.73 kB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.3763, allocations: 41.66 kB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3765, allocations: 362.7 kB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004763/0.377, allocations: 131.9 kB / 0.5702 GB, free: 11.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.3775, allocations: 157.6 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/0.3784, allocations: 297.3 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3784, allocations: 4 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0011/0.3795, allocations: 365.1 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3796, allocations: 4 kB / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3796, allocations: 0 / 0.571 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3796, allocations: 8 kB / 0.571 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.3799, allocations: 67.86 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3799, allocations: 0 / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.3802, allocations: 35.95 kB / 0.5711 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.3802, allocations: 4 kB / 0.5711 GB, free: 10.34 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.0002035/0.3804, allocations: 201.7 kB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.3805, allocations: 43.75 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.3818, allocations: 420.7 kB / 0.5717 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3818, allocations: 4 kB / 0.5717 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3818, allocations: 0 / 0.5717 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3818, allocations: 0 / 0.5717 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.3836, allocations: 0.887 MB / 0.5726 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3836, allocations: 4 kB / 0.5726 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.3839, allocations: 59.94 kB / 0.5727 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3839, allocations: 4 kB / 0.5727 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.384, allocations: 7.984 kB / 0.5727 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.384, allocations: 4 kB / 0.5727 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.384, allocations: 3.938 kB / 0.5727 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.3852, allocations: 0.5363 MB / 0.5732 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3853, allocations: 47.7 kB / 0.5732 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.3854, allocations: 11.94 kB / 0.5733 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.3857, allocations: 40.31 kB / 0.5733 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.3858, allocations: 19.91 kB / 0.5733 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3858, allocations: 8 kB / 0.5733 GB, free: 7.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005324/0.3863, allocations: 451 kB / 0.5737 GB, free: 7.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3863, allocations: 4 kB / 0.5738 GB, free: 7.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.3867, allocations: 51.94 kB / 0.5738 GB, free: 7.48 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.003033/0.3897, allocations: 1.371 MB / 0.5751 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3908, allocations: 303.6 kB / 0.5754 GB, free: 5.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.3908, allocations: 4 kB / 0.5754 GB, free: 5.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.3914, allocations: 159.8 kB / 0.5756 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.392, allocations: 56.83 kB / 0.5756 GB, free: 5.734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007598/0.3996, allocations: 4.333 MB / 0.5799 GB, free: 1.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.4001, allocations: 0.8146 MB / 0.5807 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.4003, allocations: 78.53 kB / 0.5807 GB, free: 400 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4005, allocations: 119.4 kB / 0.5809 GB, free: 280 kB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4005, allocations: 3.938 kB / 0.5809 GB, free: 276 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03038/0.4309, allocations: 8.151 MB / 0.5888 GB, free: 8.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.24, allocations: 22.36 kB / 0.5888 GB, free: 8.188 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.280159525980707] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 12.465790853020735 12.496821125 12.123778556 Calling exit ...