Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.001705/0.001705, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002399/0.002399, allocations: 221.2 kB / 23 MB, free: 5.582 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.47/1.47, allocations: 230.2 MB / 256.2 MB, free: 8.566 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.2422/0.2422, allocations: 46.89 MB / 359.4 MB, free: 4.93 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.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",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.002494/0.002494, allocations: 75.88 kB / 0.4942 GB, free: 9.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3379, allocations: 65.97 MB / 0.5586 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002543/0.3405, allocations: 1.746 MB / 0.5603 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.3417, allocations: 1.046 MB / 0.5614 GB, free: 32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.3418, allocations: 3.094 kB / 0.5614 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.3421, allocations: 40.56 kB / 0.5614 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.3423, allocations: 90.12 kB / 0.5615 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.3425, allocations: 85 kB / 0.5616 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000136/0.3426, allocations: 108.5 kB / 0.5617 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.3427, allocations: 5.141 kB / 0.5617 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.3428, allocations: 46.8 kB / 0.5617 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.3428, allocations: 35.94 kB / 0.5618 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3429, allocations: 6.188 kB / 0.5618 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.3429, allocations: 39.86 kB / 0.5618 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.343, allocations: 21.36 kB / 0.5618 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.343, allocations: 29.19 kB / 0.5619 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.3432, allocations: 118.8 kB / 0.562 GB, free: 31.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3432, allocations: 4 kB / 0.562 GB, free: 31.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3432, allocations: 0 / 0.562 GB, free: 31.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3432, allocations: 0 / 0.562 GB, free: 31.7 MB / 446.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.0004412/0.3436, allocations: 418 kB / 0.5624 GB, free: 31.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3437, allocations: 8.406 kB / 0.5624 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.819e-05/0.3437, allocations: 34.75 kB / 0.5624 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.3437, allocations: 13.27 kB / 0.5624 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.344, allocations: 207 kB / 0.5626 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.344, allocations: 384 / 0.5626 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.344, allocations: 7.125 kB / 0.5626 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3441, allocations: 57.53 kB / 0.5627 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3442, allocations: 0 / 0.5627 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3442, allocations: 4 kB / 0.5627 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3442, allocations: 3.938 kB / 0.5627 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.3442, allocations: 18.25 kB / 0.5627 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.3445, allocations: 295.6 kB / 0.563 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3447, allocations: 56.77 kB / 0.563 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.3447, allocations: 18.33 kB / 0.5631 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3448, allocations: 5.5 kB / 0.5631 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.3449, allocations: 66.02 kB / 0.5631 GB, free: 30.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3449, allocations: 0 / 0.5631 GB, free: 30.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005201/0.3454, allocations: 173.7 kB / 0.5633 GB, free: 30.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.3455, allocations: 56.03 kB / 0.5634 GB, free: 30.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3456, allocations: 169.2 kB / 0.5635 GB, free: 30.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.3456, allocations: 29.64 kB / 0.5635 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.3456, allocations: 98.55 kB / 0.5636 GB, free: 30.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3457, allocations: 30.05 kB / 0.5637 GB, free: 30.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.3457, allocations: 24.25 kB / 0.5637 GB, free: 30.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.3457, allocations: 329.1 kB / 0.564 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.3458, allocations: 21.44 kB / 0.564 GB, free: 29.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.3459, allocations: 41.97 kB / 0.5641 GB, free: 29.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.346, allocations: 65.19 kB / 0.5641 GB, free: 29.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.346, allocations: 0 / 0.5641 GB, free: 29.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001546/0.3461, allocations: 102.3 kB / 0.5642 GB, free: 29.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3461, allocations: 5.656 kB / 0.5642 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3461, allocations: 0 / 0.5642 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3461, allocations: 0 / 0.5642 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.74e-05/0.3462, allocations: 16.81 kB / 0.5642 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3462, allocations: 0 / 0.5642 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.3463, allocations: 6.75 kB / 0.5642 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3463, allocations: 4.688 kB / 0.5643 GB, free: 29.67 MB / 446.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 7.057e-05/0.3464, allocations: 129.5 kB / 0.5644 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.3464, allocations: 9.328 kB / 0.5644 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.3466, allocations: 113 kB / 0.5645 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3466, allocations: 2.375 kB / 0.5645 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.3466, allocations: 0 / 0.5645 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3466, allocations: 6.484 kB / 0.5645 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.3469, allocations: 390.2 kB / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3469, allocations: 3.312 kB / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.347, allocations: 9.031 kB / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.347, allocations: 0 / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.347, allocations: 6.281 kB / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.347, allocations: 8.562 kB / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.347, allocations: 0 / 0.5649 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3472, allocations: 208 kB / 0.5651 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.3472, allocations: 91.56 kB / 0.5652 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3472, allocations: 4 kB / 0.5652 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.3473, allocations: 10.84 kB / 0.5652 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.3473, allocations: 10.36 kB / 0.5652 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3473, allocations: 3 kB / 0.5652 GB, free: 28.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.941e-05/0.3474, allocations: 133.3 kB / 0.5653 GB, free: 28.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3474, allocations: 0 / 0.5653 GB, free: 28.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3477, allocations: 26.22 kB / 0.5654 GB, free: 28.73 MB / 446.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.001846/0.3495, allocations: 1.088 MB / 0.5664 GB, free: 27.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.3497, allocations: 59.45 kB / 0.5665 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3497, allocations: 0 / 0.5665 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.228e-05/0.3498, allocations: 30.5 kB / 0.5665 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.3501, allocations: 39.95 kB / 0.5666 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.3514, allocations: 1.607 MB / 0.5681 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.3516, allocations: 0.7079 MB / 0.5688 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.3516, allocations: 25.47 kB / 0.5688 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.3517, allocations: 31.94 kB / 0.5689 GB, free: 25.79 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3517, allocations: 0 / 0.5689 GB, free: 25.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.375, allocations: 3.343 MB / 0.5721 GB, free: 25.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.298, allocations: 1.781 kB / 0.5721 GB, free: 25.03 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.299586399021791] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.419722143997205 8.434367253 8.088195017 Calling exit ...