Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001853/0.001853, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002232/0.002232, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.503/1.503, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.2796/0.2796, allocations: 46.92 MB / 361.6 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) [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.003306/0.003306, allocations: 75.88 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4062, allocations: 66.09 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.00356/0.4098, allocations: 1.886 MB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.4112, allocations: 0.7174 MB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.4113, allocations: 3.938 kB / 0.5641 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.4118, allocations: 183.5 kB / 0.5642 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.4122, allocations: 175.3 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007228/0.4129, allocations: 322.1 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.4132, allocations: 243.3 kB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.4134, allocations: 43.73 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.4135, allocations: 103.6 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.4138, allocations: 163.5 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.4138, allocations: 12 kB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.203e-05/0.4139, allocations: 36 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.414, allocations: 115.6 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.4141, allocations: 127 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005069/0.4146, allocations: 306.5 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4147, allocations: 4 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4147, allocations: 0 / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4147, allocations: 4 kB / 0.5658 GB, free: 15.87 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.0009811/0.4156, allocations: 0.609 MB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.4157, allocations: 12.03 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.4157, allocations: 42.73 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.4158, allocations: 40.7 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.4162, allocations: 316.7 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4163, allocations: 16.31 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.4163, allocations: 8.375 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.4167, allocations: 163.8 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.4167, allocations: 15.88 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4167, allocations: 4 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4168, allocations: 0 / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.4172, allocations: 159.8 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.4182, allocations: 0.6167 MB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.4186, allocations: 145.2 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.4189, allocations: 73.78 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.4189, allocations: 15.86 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.4189, allocations: 38.55 kB / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.4189, allocations: 0 / 0.568 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002615/0.4216, allocations: 0.8002 MB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.4216, allocations: 81.11 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008156/0.4225, allocations: 0.5956 MB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.4225, allocations: 29.7 kB / 0.5695 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.4227, allocations: 200.4 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.4228, allocations: 67.42 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-05/0.4228, allocations: 33.7 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.423, allocations: 362.8 kB / 0.5701 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004658/0.4235, allocations: 131.9 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.424, allocations: 164.1 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.4248, allocations: 289.5 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4248, allocations: 3.938 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001003/0.4258, allocations: 377 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.4259, allocations: 4 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4259, allocations: 3.938 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4259, allocations: 4 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.4262, allocations: 67.92 kB / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4262, allocations: 0 / 0.5711 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.4265, allocations: 36.7 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4265, allocations: 4.188 kB / 0.5712 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.0002182/0.4267, allocations: 190.6 kB / 0.5713 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.186e-05/0.4268, allocations: 51.64 kB / 0.5714 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.4279, allocations: 416.6 kB / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.428, allocations: 7.984 kB / 0.5718 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.428, allocations: 0 / 0.5718 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.428, allocations: 0 / 0.5718 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.4297, allocations: 0.8869 MB / 0.5727 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4297, allocations: 4 kB / 0.5727 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.43, allocations: 59.94 kB / 0.5727 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.43, allocations: 4 kB / 0.5727 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.43, allocations: 4 kB / 0.5727 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4301, allocations: 7.938 kB / 0.5727 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4301, allocations: 0 / 0.5727 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4311, allocations: 0.5294 MB / 0.5733 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.4312, allocations: 51.7 kB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.4313, allocations: 8 kB / 0.5733 GB, free: 7.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.4316, allocations: 39.94 kB / 0.5734 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.4317, allocations: 19.97 kB / 0.5734 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.4317, allocations: 11.94 kB / 0.5734 GB, free: 7.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005361/0.4322, allocations: 451 kB / 0.5738 GB, free: 7.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4322, allocations: 0 / 0.5738 GB, free: 7.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.4326, allocations: 55.92 kB / 0.5739 GB, free: 7.301 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.002872/0.4354, allocations: 1.382 MB / 0.5752 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.4365, allocations: 303.6 kB / 0.5755 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4365, allocations: 0 / 0.5755 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.4369, allocations: 159.8 kB / 0.5757 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005591/0.4375, allocations: 49.56 kB / 0.5757 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.4442, allocations: 4.327 MB / 0.5799 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/0.4447, allocations: 0.8181 MB / 0.5807 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.4449, allocations: 70.55 kB / 0.5808 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.4451, allocations: 123.4 kB / 0.5809 GB, free: 80 kB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4451, allocations: 3.938 kB / 0.5809 GB, free: 76 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03624/0.4814, allocations: 8.056 MB / 0.5888 GB, free: 8.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.427/8.908, allocations: 10 kB / 0.5888 GB, free: 8.031 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.949919457081705] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 9.056119144894183 9.07835129 8.659329743 Calling exit ...