Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.001301/0.001301, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001449/0.001449, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.495/1.495, 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 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.2336/0.2336, allocations: 46.93 MB / 361.6 MB, free: 4.23 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.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76",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.002336/0.002336, allocations: 79.86 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4133, allocations: 66.09 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003775/0.4171, allocations: 1.761 MB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.419, allocations: 1.053 MB / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.4191, allocations: 0 / 0.5643 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.4195, allocations: 51.75 kB / 0.5644 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.4198, allocations: 99.53 kB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.4201, allocations: 83.72 kB / 0.5646 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.4203, allocations: 127.6 kB / 0.5647 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4204, allocations: 21.92 kB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.4206, allocations: 55.78 kB / 0.5648 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.4207, allocations: 51.77 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.4207, allocations: 8 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.4209, allocations: 63.97 kB / 0.5649 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.4209, allocations: 31.84 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.421, allocations: 47.67 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.4213, allocations: 143.4 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4213, allocations: 0 / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4213, allocations: 0 / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4213, allocations: 0 / 0.5651 GB, free: 0.707 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006655/0.422, allocations: 373.3 kB / 0.5654 GB, free: 320 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.422, allocations: 12.03 kB / 0.5655 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.4221, allocations: 42.67 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.4221, allocations: 16.84 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.4225, allocations: 166.3 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4225, allocations: 4.375 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.4225, allocations: 4.375 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.4228, allocations: 85.73 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4228, allocations: 0 / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4228, allocations: 4 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4228, allocations: 4 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.4229, allocations: 43.97 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.4234, allocations: 287.8 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.4237, allocations: 78.58 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.4238, allocations: 32.84 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.4238, allocations: 4 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.424, allocations: 79.38 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.424, allocations: 0 / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009078/0.4249, allocations: 301.1 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.425, allocations: 55.41 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.4252, allocations: 206.1 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.4252, allocations: 25.7 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.4253, allocations: 108.4 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.4254, allocations: 51.72 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.4254, allocations: 30.56 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4256, allocations: 326.8 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.4257, allocations: 43.98 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.4258, allocations: 56.59 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.426, allocations: 101.6 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.426, allocations: 0 / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000278/0.4263, allocations: 157.5 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4263, allocations: 7.984 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4263, allocations: 0 / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4263, allocations: 3.938 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.4264, allocations: 24 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.4265, allocations: 8.016 kB / 0.5677 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.4265, allocations: 7.938 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4265, allocations: 4 kB / 0.5677 GB, free: 13.8 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 (15): * Single equations (assignments): 15 * 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.0001314/0.4266, allocations: 134.6 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.4267, allocations: 15.91 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.427, allocations: 170.6 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.4271, allocations: 4 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4271, allocations: 0 / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4271, allocations: 11.92 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.4277, allocations: 451.1 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4277, allocations: 0 / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.4278, allocations: 23.88 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4278, allocations: 0 / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.4278, allocations: 11.98 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4278, allocations: 0 / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4278, allocations: 4.062 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.4281, allocations: 261.1 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.4282, allocations: 11.89 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.4282, allocations: 0 / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.4283, allocations: 8 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.4283, allocations: 15.97 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.4283, allocations: 4 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.4285, allocations: 148.3 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4285, allocations: 0 / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.4288, allocations: 35.89 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.00251/0.4313, allocations: 1.195 MB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.4316, allocations: 95.91 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4316, allocations: 0 / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4317, allocations: 47.91 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4321, allocations: 31.55 kB / 0.5703 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.4345, allocations: 1.866 MB / 0.5721 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.4349, allocations: 0.72 MB / 0.5728 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.069e-05/0.4349, allocations: 25.41 kB / 0.5729 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-05/0.435, allocations: 47.41 kB / 0.5729 GB, free: 8.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.435, allocations: 0 / 0.5729 GB, free: 8.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.465, allocations: 4.165 MB / 0.577 GB, free: 4.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.383, allocations: 3.984 kB / 0.577 GB, free: 4.277 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.406805863138288] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 't_new.y[3]', 'd_t_new.y', 'd2_t_new.y'] 8.528344030957669 8.543756787 8.1194019 Calling exit ...