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.001031/0.001031, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001358/0.001358, allocations: 207.6 kB / 24.53 MB, free: 4.07 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.404/1.404, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2165/0.2165, allocations: 46.92 MB / 361.6 MB, free: 4.195 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 79.88 kB / 0.497 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3102, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003389/0.3136, allocations: 1.886 MB / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.3148, allocations: 0.7252 MB / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.367e-05/0.3149, allocations: 0 / 0.5641 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.3153, allocations: 183.5 kB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.3157, allocations: 171.3 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.3163, allocations: 330.8 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.3166, allocations: 235.4 kB / 0.5649 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3168, allocations: 47.73 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3169, allocations: 103.6 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.3171, allocations: 159.5 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.3171, allocations: 12 kB / 0.5652 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.554e-05/0.3172, allocations: 44 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.3174, allocations: 115.6 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3175, allocations: 127 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.3178, allocations: 306.5 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3178, allocations: 0 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3178, allocations: 0 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3179, allocations: 4 kB / 0.5658 GB, free: 15.88 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.0009685/0.3188, allocations: 0.6091 MB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3189, allocations: 12.03 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.215e-05/0.3189, allocations: 192 / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.3189, allocations: 46.73 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.319, allocations: 40.7 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3194, allocations: 316.6 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3194, allocations: 8.375 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3195, allocations: 12.38 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.3199, allocations: 175.5 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3199, allocations: 3.938 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3199, allocations: 4 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3199, allocations: 4 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.3205, allocations: 159.8 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3215, allocations: 0.6167 MB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.3219, allocations: 149.1 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.3221, allocations: 73.78 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.3222, allocations: 7.984 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3222, allocations: 42.55 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3222, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002644/0.3248, allocations: 0.7963 MB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3249, allocations: 85.05 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/0.3256, allocations: 0.5995 MB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3256, allocations: 25.7 kB / 0.5695 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3258, allocations: 212.4 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.3258, allocations: 63.44 kB / 0.5698 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.3259, allocations: 33.8 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3261, allocations: 358.7 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.3265, allocations: 135.9 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.327, allocations: 159.8 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.3279, allocations: 293.5 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3279, 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.001057/0.3289, allocations: 377 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3289, allocations: 8 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.329, allocations: 0 / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.329, allocations: 0 / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.3293, allocations: 63.92 kB / 0.5711 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3293, allocations: 0 / 0.5711 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.3295, allocations: 47.89 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.3295, allocations: 4 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.0001844/0.3297, allocations: 185.8 kB / 0.5714 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/0.3298, allocations: 39.7 kB / 0.5714 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.331, allocations: 420.6 kB / 0.5718 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.331, allocations: 7.984 kB / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.331, allocations: 0 / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.331, allocations: 0 / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.3328, allocations: 0.8909 MB / 0.5727 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3328, allocations: 0 / 0.5727 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.3331, allocations: 63.88 kB / 0.5727 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3331, allocations: 0 / 0.5727 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3331, allocations: 8 kB / 0.5727 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3331, allocations: 0.75 kB / 0.5727 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3331, allocations: 0 / 0.5727 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3342, allocations: 0.5334 MB / 0.5733 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.3343, allocations: 59.64 kB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.3343, allocations: 4 kB / 0.5733 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.3347, allocations: 35.94 kB / 0.5734 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.3347, allocations: 27.91 kB / 0.5734 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3348, allocations: 8 kB / 0.5734 GB, free: 7.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000472/0.3352, allocations: 459 kB / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3352, allocations: 0 / 0.5738 GB, free: 7.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.3356, allocations: 55.92 kB / 0.5739 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.002787/0.3384, allocations: 1.37 MB / 0.5752 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.3394, allocations: 299.7 kB / 0.5755 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3394, allocations: 0 / 0.5755 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004935/0.3399, allocations: 155.8 kB / 0.5756 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005458/0.3404, allocations: 51.89 kB / 0.5757 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.3472, allocations: 4.337 MB / 0.5799 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.3477, allocations: 0.8143 MB / 0.5807 GB, free: 284 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.3479, allocations: 78.23 kB / 0.5808 GB, free: 208 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.3481, allocations: 119.4 kB / 0.5809 GB, free: 88 kB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3481, allocations: 3.938 kB / 0.5809 GB, free: 84 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3756, allocations: 8.177 MB / 0.5889 GB, free: 7.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.39, allocations: 4 kB / 0.5889 GB, free: 7.953 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] [Calling os._exit(0), Time elapsed: 14.250254021026194] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 11.605317544017453 11.630491134 11.308052329 Calling exit ...