Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001394/0.001394, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001401/0.001401, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.429/1.429, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2412/0.2412, allocations: 44.91 MB / 359.6 MB, free: 6.312 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3268, allocations: 65.46 MB / 0.5578 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003289/0.3301, allocations: 1.746 MB / 0.5596 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3319, allocations: 1.053 MB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.069e-05/0.3319, allocations: 0 / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3322, allocations: 39.78 kB / 0.5606 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.3325, allocations: 99.53 kB / 0.5607 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3327, allocations: 83.66 kB / 0.5608 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3328, allocations: 95.7 kB / 0.5609 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.3329, allocations: 13.81 kB / 0.5609 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.333, allocations: 51.72 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.3331, allocations: 31.84 kB / 0.561 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3331, allocations: 8 kB / 0.561 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.3332, allocations: 39.98 kB / 0.561 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.3333, allocations: 23.91 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.3333, allocations: 35.69 kB / 0.5611 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3335, allocations: 115.5 kB / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3335, allocations: 0 / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3335, allocations: 0 / 0.5612 GB, free: 4.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3336, allocations: 4 kB / 0.5612 GB, free: 4.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005282/0.3341, allocations: 337.6 kB / 0.5615 GB, free: 3.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3341, allocations: 12.03 kB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.3341, allocations: 8.125 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.3342, allocations: 34.75 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.3342, allocations: 12.84 kB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.3345, allocations: 158.2 kB / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3345, allocations: 8.109 kB / 0.5617 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.3345, allocations: 4 kB / 0.5617 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3347, allocations: 53.67 kB / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3347, allocations: 0 / 0.5618 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3347, allocations: 4 kB / 0.5618 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3347, allocations: 0 / 0.5618 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.454e-05/0.3348, allocations: 19.98 kB / 0.5618 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.3352, allocations: 255.9 kB / 0.5621 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.3353, allocations: 54.69 kB / 0.5621 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.3354, allocations: 28.83 kB / 0.5621 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3354, allocations: 0 / 0.5621 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.3356, allocations: 63.39 kB / 0.5622 GB, free: 3.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3356, allocations: 3.938 kB / 0.5622 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005255/0.3361, allocations: 181.6 kB / 0.5624 GB, free: 2.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3361, allocations: 55.41 kB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.3363, allocations: 191.2 kB / 0.5626 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3363, allocations: 29.64 kB / 0.5626 GB, free: 2.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.3364, allocations: 96.14 kB / 0.5627 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.3364, allocations: 31.77 kB / 0.5628 GB, free: 2.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3365, allocations: 25.72 kB / 0.5628 GB, free: 2.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3366, allocations: 318.8 kB / 0.5631 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.3367, allocations: 24.05 kB / 0.5631 GB, free: 2.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.3368, allocations: 45.7 kB / 0.5632 GB, free: 2.129 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.3369, allocations: 57.77 kB / 0.5632 GB, free: 2.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3369, allocations: 0 / 0.5632 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.3371, allocations: 101.5 kB / 0.5633 GB, free: 1.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3371, allocations: 10.34 kB / 0.5633 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3371, allocations: 0 / 0.5633 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3371, allocations: 0 / 0.5633 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.3372, allocations: 23.92 kB / 0.5633 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3372, allocations: 11.91 kB / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.3373, allocations: 0 / 0.5634 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3373, allocations: 4 kB / 0.5634 GB, free: 1.914 MB / 398.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001129/0.3374, allocations: 128.5 kB / 0.5635 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.3374, allocations: 7.953 kB / 0.5635 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3377, allocations: 119 kB / 0.5636 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3377, allocations: 3.938 kB / 0.5636 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.3377, allocations: 3.938 kB / 0.5636 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3377, allocations: 4 kB / 0.5636 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.3381, allocations: 354.5 kB / 0.564 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3381, allocations: 3.938 kB / 0.564 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.3382, allocations: 8 kB / 0.564 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.3382, allocations: 7.922 kB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3382, allocations: 4 kB / 0.564 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3382, allocations: 4 kB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3382, allocations: 0 / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.3384, allocations: 200.4 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.3384, allocations: 19.84 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3385, allocations: 192 / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.3385, allocations: 7.984 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.3386, allocations: 7.875 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3386, allocations: 8 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3387, allocations: 145.8 kB / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3387, allocations: 0 / 0.5644 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.339, allocations: 23.94 kB / 0.5644 GB, free: 0.7812 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002182/0.3412, allocations: 1.087 MB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.3413, allocations: 55.91 kB / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3413, allocations: 0 / 0.5655 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.3414, allocations: 31.92 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3418, allocations: 30.95 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.3438, allocations: 1.649 MB / 0.5672 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.3441, allocations: 0.7041 MB / 0.5678 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.3442, allocations: 13.28 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/0.3442, allocations: 35.42 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3442, allocations: 4 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.3672, allocations: 3.606 MB / 0.5714 GB, free: 9.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 2.75 kB / 0.5714 GB, free: 9.688 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.698106366035063] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.972013516991865 11.989610386 11.65273965 Calling exit ...