Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001557/0.001557, 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.001971/0.001971, 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.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2416/0.2416, allocations: 46.94 MB / 361.6 MB, free: 4.234 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.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",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.002489/0.002489, allocations: 71.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4043, allocations: 66.09 MB / 0.5616 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004193/0.4085, allocations: 1.932 MB / 0.5635 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.411, allocations: 1.158 MB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.4111, allocations: 3.938 kB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005882/0.4117, allocations: 251.3 kB / 0.5648 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.4124, allocations: 239.2 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.413, allocations: 115.6 kB / 0.5652 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.4136, allocations: 279.2 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.4138, allocations: 19.92 kB / 0.5655 GB, free: 304 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.4143, allocations: 147.4 kB / 0.5656 GB, free: 156 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.4146, allocations: 203.6 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.4146, allocations: 8 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.4148, allocations: 63.86 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.415, allocations: 75.62 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.4151, allocations: 91.3 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.4156, allocations: 254.7 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4156, allocations: 0 / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4156, allocations: 0 / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.4156, allocations: 0 / 0.5663 GB, free: 15.47 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001043/0.4166, allocations: 0.5312 MB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.4167, allocations: 8.031 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.4168, allocations: 42.75 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.4168, allocations: 32.73 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.4173, allocations: 232.9 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.4174, allocations: 12.3 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.4174, allocations: 12.36 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.4177, allocations: 114.5 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4177, allocations: 4 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4177, allocations: 3.984 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4177, allocations: 4 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.4179, allocations: 51.91 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.4187, allocations: 447.9 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.4191, allocations: 121.2 kB / 0.5678 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.4192, allocations: 41.81 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.4192, allocations: 4 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004151/0.4196, allocations: 132.5 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4196, allocations: 0 / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001438/0.4211, allocations: 0.5092 MB / 0.5685 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.4211, allocations: 85.09 kB / 0.5686 GB, free: 12.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.4218, allocations: 0.4899 MB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.4218, allocations: 29.7 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.4219, allocations: 168.5 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.432e-05/0.422, allocations: 79.41 kB / 0.5693 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/0.4221, allocations: 41.7 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4223, allocations: 346.8 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4225, allocations: 55.97 kB / 0.5697 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.4226, allocations: 96.14 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.4229, allocations: 163.3 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.4229, allocations: 4 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004433/0.4234, allocations: 233.3 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4234, allocations: 11.98 kB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.4234, allocations: 3.938 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4234, allocations: 4.062 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4236, allocations: 43.92 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4236, allocations: 4.234 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.4236, allocations: 8 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.4237, allocations: 7.984 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002885/0.4239, allocations: 177.7 kB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.424, allocations: 35.77 kB / 0.5705 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.4245, allocations: 276.5 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4246, allocations: 4 kB / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4246, allocations: 0 / 0.5708 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.4246, allocations: 3.984 kB / 0.5708 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.4257, allocations: 0.7147 MB / 0.5715 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4257, allocations: 4 kB / 0.5715 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.4258, allocations: 31.92 kB / 0.5715 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4258, allocations: 0 / 0.5715 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.4258, allocations: 12.17 kB / 0.5715 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.4258, allocations: 4 kB / 0.5715 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4258, allocations: 3.938 kB / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.4263, allocations: 433.8 kB / 0.5719 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.4264, allocations: 31.81 kB / 0.572 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.4264, allocations: 8 kB / 0.572 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.4266, allocations: 11.98 kB / 0.572 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.4266, allocations: 23.86 kB / 0.572 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.4267, allocations: 15.98 kB / 0.572 GB, free: 9.207 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004434/0.4271, allocations: 371.1 kB / 0.5724 GB, free: 8.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4271, allocations: 7.938 kB / 0.5724 GB, free: 8.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.4275, allocations: 43.94 kB / 0.5724 GB, free: 8.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002897/0.4304, allocations: 1.357 MB / 0.5738 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.4308, allocations: 155.8 kB / 0.5739 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4308, allocations: 0 / 0.5739 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.4309, allocations: 75.83 kB / 0.574 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.4315, allocations: 70.12 kB / 0.574 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.4356, allocations: 2.999 MB / 0.577 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.4362, allocations: 0.787 MB / 0.5777 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.4363, allocations: 33.92 kB / 0.5778 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.4365, allocations: 107.4 kB / 0.5779 GB, free: 3.227 MB / 414.1 MB Notification: Performance of SimCode: time 2.094e-06/0.4365, allocations: 0 / 0.5779 GB, free: 3.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.4727, allocations: 6.808 MB / 0.5845 GB, free: 12.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.67, allocations: 8.766 kB / 0.5845 GB, free: 12.42 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.648323935922235] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.811741322744638 8.833196266 8.412623982 Calling exit ...