Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.001493/0.001493, 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.00142/0.00142, allocations: 213.2 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.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2196/0.2196, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",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.003599/0.003599, allocations: 79.88 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3157, allocations: 66.09 MB / 0.5616 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003383/0.3191, allocations: 1.988 MB / 0.5635 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.3212, allocations: 1.22 MB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.3213, allocations: 4 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.3219, allocations: 203.3 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004694/0.3224, allocations: 207.2 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.3228, allocations: 163.5 kB / 0.5652 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.3231, allocations: 271.2 kB / 0.5655 GB, free: 244 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.94e-05/0.3232, allocations: 16.59 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3234, allocations: 123.5 kB / 0.5656 GB, free: 100 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.3236, allocations: 115.6 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.3236, allocations: 15.91 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.3237, allocations: 59.97 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.3238, allocations: 63.69 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.3239, allocations: 83.42 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.3243, allocations: 244.9 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3243, allocations: 4 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3243, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3243, allocations: 0 / 0.5662 GB, free: 15.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009018/0.3252, allocations: 0.4983 MB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3252, allocations: 8.031 kB / 0.5667 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.457e-05/0.3253, allocations: 38.75 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.3253, allocations: 20.8 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.3257, allocations: 230.6 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3257, allocations: 12.36 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3258, allocations: 8.359 kB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.326, allocations: 112.3 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.326, allocations: 0 / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.326, allocations: 4 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.326, allocations: 3.938 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3262, allocations: 39.97 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.3267, allocations: 360.5 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.327, allocations: 113.2 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3271, allocations: 41.69 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.3271, allocations: 8 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.3273, allocations: 109.1 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3273, allocations: 0 / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004758/0.3278, allocations: 181.4 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.3279, allocations: 106.8 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.3283, allocations: 356.5 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3283, allocations: 29.7 kB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3284, allocations: 136.1 kB / 0.5685 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.3285, allocations: 39.73 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.3285, allocations: 29.7 kB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3287, allocations: 342.7 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.44e-05/0.3288, allocations: 31.98 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.3289, allocations: 77.12 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.3291, allocations: 95.36 kB / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3291, allocations: 0 / 0.5691 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002922/0.3294, allocations: 154 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3294, allocations: 4 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3294, allocations: 4 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3294, allocations: 0 / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3295, allocations: 31.92 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3296, allocations: 0 / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.093e-05/0.3296, allocations: 11.89 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3297, allocations: 4 kB / 0.5693 GB, free: 12.07 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * 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.0001432/0.3298, allocations: 158.7 kB / 0.5695 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.3298, allocations: 35.73 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.3302, allocations: 155.4 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3302, allocations: 0 / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3302, allocations: 7.984 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3302, allocations: 0 / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.3305, allocations: 232.6 kB / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3305, allocations: 0 / 0.5699 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.157e-05/0.3305, allocations: 19.92 kB / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3305, allocations: 0 / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3305, allocations: 0 / 0.5699 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3305, allocations: 4 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3305, allocations: 0 / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.3309, allocations: 181.7 kB / 0.5701 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.3309, allocations: 31.97 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.3309, allocations: 12 kB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.331, allocations: 11.92 kB / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.3311, allocations: 11.98 kB / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.3311, allocations: 7.938 kB / 0.5701 GB, free: 11.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.3314, allocations: 267 kB / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3314, allocations: 0 / 0.5704 GB, free: 10.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.3316, allocations: 35.94 kB / 0.5704 GB, free: 10.83 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001991/0.3336, allocations: 1.023 MB / 0.5714 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.3339, allocations: 95.89 kB / 0.5715 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3339, allocations: 0 / 0.5715 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.334, allocations: 44.05 kB / 0.5716 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3344, allocations: 69.66 kB / 0.5716 GB, free: 9.723 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.3373, allocations: 2.339 MB / 0.5739 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3376, allocations: 0.7479 MB / 0.5746 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3377, allocations: 33.92 kB / 0.5747 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3378, allocations: 75.41 kB / 0.5747 GB, free: 6.395 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3378, allocations: 0 / 0.5747 GB, free: 6.395 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.3678, allocations: 5.916 MB / 0.5805 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.722, allocations: 7.609 kB / 0.5805 GB, free: 500 kB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.525830975733697] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'booleanTable.y', 'booleanTable.combiTimeTable.y[1]', 'booleanTable.realToBoolean.y'] 8.86453426303342 8.87848354 8.550990823 Calling exit ...