Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.001796/0.001796, allocations: 109 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.002171/0.002171, allocations: 213.6 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2328/0.2328, allocations: 46.94 MB / 361.6 MB, free: 4.176 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-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.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",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.002279/0.002279, allocations: 75.88 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3367, allocations: 66.09 MB / 0.5616 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002963/0.3396, allocations: 1.694 MB / 0.5632 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.3412, allocations: 1.021 MB / 0.5642 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.3413, allocations: 3.938 kB / 0.5642 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.3416, allocations: 55.75 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.3418, allocations: 107.5 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.342, allocations: 79.73 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3422, allocations: 99.69 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.3422, allocations: 4.234 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.3423, allocations: 51.77 kB / 0.5646 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.3424, allocations: 43.77 kB / 0.5646 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3424, allocations: 4 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.3425, allocations: 31.98 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.3425, allocations: 19.92 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.3426, allocations: 31.75 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.3428, allocations: 109.5 kB / 0.5648 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3428, allocations: 4 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3428, allocations: 0 / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.3428, allocations: 0 / 0.5648 GB, free: 0.8711 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000488/0.3433, allocations: 333.6 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3433, allocations: 8.031 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.3434, allocations: 38.73 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3434, allocations: 8.891 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.3436, allocations: 151.2 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.3436, allocations: 12.36 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3437, allocations: 4.312 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3438, allocations: 53.8 kB / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3438, allocations: 0 / 0.5654 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.3438, allocations: 4 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3438, allocations: 0 / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.3439, allocations: 11.98 kB / 0.5654 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.3441, allocations: 148.8 kB / 0.5656 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3442, allocations: 58.64 kB / 0.5656 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.3443, allocations: 20.84 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.3443, allocations: 3.938 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.3445, allocations: 67.33 kB / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3445, allocations: 0 / 0.5657 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002874/0.3447, allocations: 97.62 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.3448, allocations: 55.34 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.345, allocations: 187.2 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.345, allocations: 25.7 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.345, allocations: 100.1 kB / 0.5662 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.3451, allocations: 11.95 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.3451, allocations: 17.72 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3453, allocations: 322.8 kB / 0.5665 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.174e-05/0.3453, allocations: 19.98 kB / 0.5665 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.818e-05/0.3454, allocations: 21.72 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.512e-05/0.3455, allocations: 41.7 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3455, allocations: 3.938 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001639/0.3456, allocations: 93.47 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3456, allocations: 7.984 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3456, allocations: 4.031 kB / 0.5667 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3457, allocations: 4 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.3457, allocations: 8 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3457, allocations: 0 / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.3458, allocations: 7.938 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3458, allocations: 0 / 0.5667 GB, free: 14.75 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: 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 (7): * Single equations (assignments): 7 * 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 9.705e-05/0.3459, allocations: 125.8 kB / 0.5668 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.3459, allocations: 11.89 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.3461, allocations: 94.72 kB / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3461, allocations: 384 / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3461, allocations: 4 kB / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3461, allocations: 3.984 kB / 0.5669 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.3462, allocations: 160.6 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3463, allocations: 7.938 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.3463, allocations: 3.938 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3463, allocations: 4 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3463, allocations: 0 / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3463, allocations: 0 / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3463, allocations: 0 / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3465, allocations: 109.1 kB / 0.5672 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.3465, allocations: 11.89 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.3465, allocations: 7.969 kB / 0.5672 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.771e-05/0.3465, allocations: 8 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-05/0.3466, allocations: 0 / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.3466, allocations: 7.984 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.3467, allocations: 137.5 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3467, allocations: 4 kB / 0.5674 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.3469, allocations: 20 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001816/0.3487, allocations: 0.9519 MB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.3489, allocations: 39.91 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3489, allocations: 8.062 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.427e-05/0.3489, allocations: 12 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.3492, allocations: 27.97 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3508, allocations: 1.477 MB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3511, allocations: 0.7079 MB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.606e-05/0.3512, allocations: 12.48 kB / 0.5706 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.3512, allocations: 31.42 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3512, allocations: 0 / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.3777, allocations: 3.177 MB / 0.5737 GB, free: 7.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.991/8.368, allocations: 7.781 kB / 0.5737 GB, free: 7.52 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.25641114031896] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.507916174363345 8.52332901 8.177532008 Calling exit ...