Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.001309/0.001309, allocations: 106.5 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.001602/0.001602, allocations: 212.6 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.507/1.507, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2979/0.2979, allocations: 46.94 MB / 361.6 MB, free: 4.215 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.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",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.002219/0.002219, allocations: 83.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3789, allocations: 66.08 MB / 0.5616 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003335/0.3822, allocations: 1.853 MB / 0.5634 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.3852, allocations: 1.797 MB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3853, allocations: 3.938 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.3856, allocations: 55.69 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.386, allocations: 147.3 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.3863, allocations: 107.6 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.3866, allocations: 211.3 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.152e-05/0.3867, allocations: 5.812 kB / 0.5656 GB, free: 108 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.3868, allocations: 95.56 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.3872, allocations: 75.8 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.3872, allocations: 8 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.3874, allocations: 123.7 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.3875, allocations: 31.84 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.746e-05/0.3875, allocations: 67.55 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.3879, allocations: 233.1 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3879, allocations: 3.938 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3879, allocations: 0 / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3879, allocations: 0 / 0.5662 GB, free: 15.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007154/0.3886, allocations: 425 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3887, allocations: 15.97 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.3887, allocations: 34.73 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.3888, allocations: 16.84 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.3891, allocations: 202.1 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3892, allocations: 4.375 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3892, allocations: 384 / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.3894, allocations: 105.1 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3894, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.3895, allocations: 4 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.3895, allocations: 8 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.3896, allocations: 27.97 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.3899, allocations: 197.5 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.3902, allocations: 97.17 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.3903, allocations: 41.7 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.3903, allocations: 0 / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.3905, allocations: 116.9 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.3905, allocations: 0 / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004781/0.391, allocations: 169.4 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.3911, allocations: 132.5 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.3914, allocations: 234.3 kB / 0.568 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3914, allocations: 29.7 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.3915, allocations: 120.1 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.3915, allocations: 31.73 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3916, allocations: 25.72 kB / 0.5682 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002697/0.3919, allocations: 334.8 kB / 0.5685 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.925e-05/0.392, allocations: 31.98 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3921, allocations: 65.14 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3923, allocations: 99.88 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3923, allocations: 0 / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002805/0.3925, allocations: 141.4 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3926, allocations: 10.34 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3926, allocations: 0 / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3926, allocations: 0 / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3927, allocations: 23.98 kB / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3927, allocations: 0 / 0.5689 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.3928, allocations: 23.94 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3928, allocations: 4 kB / 0.5689 GB, free: 12.49 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001286/0.3929, allocations: 134.6 kB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.393, allocations: 27.83 kB / 0.569 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003445/0.3933, allocations: 142.7 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3933, allocations: 4 kB / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3933, allocations: 0 / 0.5692 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3933, allocations: 4 kB / 0.5692 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3936, allocations: 200.5 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3936, allocations: 3.938 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.3936, allocations: 11.98 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3936, allocations: 0 / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3936, allocations: 4.234 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.3936, allocations: 8 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3936, allocations: 0 / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.3941, allocations: 169.8 kB / 0.5696 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.3941, allocations: 23.83 kB / 0.5696 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.3941, allocations: 4 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.3942, allocations: 7.984 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.3943, allocations: 7.984 kB / 0.5696 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3943, allocations: 8 kB / 0.5696 GB, free: 11.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002722/0.3946, allocations: 180.4 kB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3946, allocations: 96 / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.3948, allocations: 63.8 kB / 0.5698 GB, free: 11.42 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.002295/0.3971, allocations: 1.092 MB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.3974, allocations: 83.89 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3974, allocations: 4.125 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.3975, allocations: 35.92 kB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3979, allocations: 52.56 kB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.4003, allocations: 1.885 MB / 0.5729 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4007, allocations: 0.7242 MB / 0.5736 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.4008, allocations: 33.61 kB / 0.5737 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.4009, allocations: 59.41 kB / 0.5737 GB, free: 7.457 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4009, allocations: 0 / 0.5737 GB, free: 7.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.436, allocations: 5.418 MB / 0.579 GB, free: 2.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.436, allocations: 11 kB / 0.579 GB, free: 2.023 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.521594506222755] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.57747299503535 8.599347964 8.207393956 Calling exit ...