Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.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.001453/0.001453, allocations: 110 kB / 20.42 MB, free: 1.535 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.001919/0.001919, allocations: 210.1 kB / 23.72 MB, free: 4.961 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.491/1.491, allocations: 230.2 MB / 257.1 MB, free: 8.508 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.2203/0.2203, allocations: 46.89 MB / 360.3 MB, free: 4.629 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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28",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.002255/0.002255, allocations: 83.86 kB / 0.4956 GB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3045, allocations: 65.99 MB / 0.5601 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002989/0.3074, allocations: 1.737 MB / 0.5618 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3092, allocations: 1.049 MB / 0.5628 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.3092, allocations: 7.938 kB / 0.5628 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.3095, allocations: 35.78 kB / 0.5628 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.3098, allocations: 95.53 kB / 0.5629 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.31, allocations: 83.66 kB / 0.563 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.3102, allocations: 103.8 kB / 0.5631 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.3103, allocations: 9.828 kB / 0.5631 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.079e-05/0.3104, allocations: 47.77 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.899e-05/0.3104, allocations: 31.8 kB / 0.5632 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.3104, allocations: 4 kB / 0.5632 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.3105, allocations: 39.98 kB / 0.5632 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.3106, allocations: 23.91 kB / 0.5632 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.461e-05/0.3107, allocations: 39.67 kB / 0.5633 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3109, allocations: 119.5 kB / 0.5634 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3109, allocations: 0 / 0.5634 GB, free: 1.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3109, allocations: 0 / 0.5634 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.3109, allocations: 4 kB / 0.5634 GB, free: 1.465 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.0005644/0.3114, allocations: 426.6 kB / 0.5638 GB, free: 1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3115, allocations: 8.031 kB / 0.5638 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.3115, allocations: 38.75 kB / 0.5639 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3115, allocations: 12.89 kB / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.3118, allocations: 216.8 kB / 0.5641 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3118, allocations: 384 / 0.5641 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3119, allocations: 8.375 kB / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.312, allocations: 57.8 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.312, allocations: 0 / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.312, allocations: 4 kB / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.312, allocations: 0 / 0.5641 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.114e-05/0.3121, allocations: 19.98 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.3125, allocations: 288.8 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3126, allocations: 58.62 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.3127, allocations: 20.84 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3127, allocations: 0 / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.3129, allocations: 63.39 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3129, allocations: 0 / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.3134, allocations: 181.3 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3134, allocations: 55.41 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.3136, allocations: 194.3 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.3137, allocations: 33.7 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.3137, allocations: 104.1 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.3138, allocations: 27.78 kB / 0.5651 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.3138, allocations: 29.64 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3139, allocations: 330.8 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.628e-05/0.314, allocations: 16 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.3141, allocations: 37.7 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3142, allocations: 61.7 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3142, allocations: 0 / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.3144, allocations: 105.5 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3144, allocations: 4 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3144, allocations: 0 / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3144, allocations: 4.031 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.681e-05/0.3145, allocations: 16.38 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3145, allocations: 3.938 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.3146, allocations: 7.984 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3146, allocations: 8 kB / 0.5657 GB, free: 14.83 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 (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.0001081/0.3147, allocations: 128.6 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3147, allocations: 15.91 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.3149, allocations: 111 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3149, allocations: 7.984 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3149, allocations: 4 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3149, allocations: 0 / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.3154, allocations: 391.3 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3154, allocations: 4 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.3155, allocations: 11.94 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3155, allocations: 0 / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3155, allocations: 4 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3155, allocations: 8.281 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3155, allocations: 7.984 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3157, allocations: 204.3 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.872e-05/0.3158, allocations: 85.06 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.3158, allocations: 4 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.3159, allocations: 3.938 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.3159, allocations: 15.92 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3159, allocations: 8.125 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3161, allocations: 148.2 kB / 0.5668 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3161, allocations: 3.938 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3163, allocations: 27.94 kB / 0.5669 GB, free: 13.55 MB / 414.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.002086/0.3184, allocations: 1.076 MB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.3186, allocations: 63.78 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3186, allocations: 4.062 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.3187, allocations: 27.92 kB / 0.568 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.319, allocations: 34.27 kB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.3209, allocations: 1.668 MB / 0.5697 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.3212, allocations: 0.708 MB / 0.5704 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.5e-05/0.3213, allocations: 20.86 kB / 0.5704 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.3214, allocations: 39.42 kB / 0.5704 GB, free: 9.934 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3214, allocations: 0 / 0.5704 GB, free: 9.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.3469, allocations: 3.485 MB / 0.5738 GB, free: 6.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.387, allocations: 11.89 kB / 0.5738 GB, free: 6.441 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.265851481817663] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.513962086290121 8.538231412 8.223059493 Calling exit ...