Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.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.001286/0.001286, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001622/0.001622, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.511/1.511, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2321/0.2321, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",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.002346/0.002346, allocations: 79.86 kB / 0.497 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.362, allocations: 66.09 MB / 0.5615 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003902/0.3659, allocations: 2.339 MB / 0.5638 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003157/0.3691, allocations: 1.726 MB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.3692, allocations: 11.88 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.3697, allocations: 139.2 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006048/0.3703, allocations: 290.8 kB / 0.5659 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3716, allocations: 0.5366 MB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006846/0.3723, allocations: 0.5804 MB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3725, allocations: 51.2 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003625/0.3728, allocations: 243 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.3732, allocations: 243 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.3733, allocations: 28 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.3737, allocations: 203.7 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.3739, allocations: 131.5 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.3741, allocations: 210.6 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008061/0.3749, allocations: 0.5953 MB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3749, allocations: 4 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3749, allocations: 3.938 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3749, allocations: 3.984 kB / 0.5686 GB, free: 12.85 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001325/0.3762, allocations: 0.8575 MB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3763, allocations: 8.031 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.82e-05/0.3763, allocations: 42.73 kB / 0.5695 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.3765, allocations: 60.56 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.3772, allocations: 425.4 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.3772, allocations: 12.61 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.3772, allocations: 12.38 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/0.3777, allocations: 265 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3777, allocations: 3.984 kB / 0.5703 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.3778, allocations: 8 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3778, allocations: 7.938 kB / 0.5703 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3781, allocations: 107.9 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3792, allocations: 0.8593 MB / 0.5712 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.38, allocations: 282.5 kB / 0.5715 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.3802, allocations: 107.4 kB / 0.5716 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3803, allocations: 4 kB / 0.5716 GB, free: 9.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004396/0.3807, allocations: 214.6 kB / 0.5718 GB, free: 9.348 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.3807, allocations: 0 / 0.5718 GB, free: 9.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009979/0.3817, allocations: 409.6 kB / 0.5722 GB, free: 8.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002149/0.3819, allocations: 350.1 kB / 0.5725 GB, free: 8.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009348/0.3828, allocations: 0.6669 MB / 0.5732 GB, free: 7.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.3829, allocations: 37.7 kB / 0.5732 GB, free: 7.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.3831, allocations: 240.5 kB / 0.5734 GB, free: 7.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.3832, allocations: 67.55 kB / 0.5735 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3833, allocations: 65.69 kB / 0.5736 GB, free: 7.422 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3835, allocations: 370.8 kB / 0.5739 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.3837, allocations: 79.95 kB / 0.574 GB, free: 6.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.3841, allocations: 245 kB / 0.5742 GB, free: 6.672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004806/0.3846, allocations: 230.7 kB / 0.5745 GB, free: 6.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3846, allocations: 448 / 0.5745 GB, free: 6.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006519/0.3852, allocations: 325.1 kB / 0.5748 GB, free: 6.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3852, allocations: 4 kB / 0.5748 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3852, allocations: 0 / 0.5748 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3853, allocations: 7.938 kB / 0.5748 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3855, allocations: 59.91 kB / 0.5748 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3855, allocations: 11.86 kB / 0.5748 GB, free: 6.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3857, allocations: 23.89 kB / 0.5749 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.3857, allocations: 15.98 kB / 0.5749 GB, free: 5.977 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002631/0.386, allocations: 225.8 kB / 0.5751 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.3861, allocations: 55.62 kB / 0.5751 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007912/0.3869, allocations: 342 kB / 0.5755 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3869, allocations: 4 kB / 0.5755 GB, free: 5.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.3869, allocations: 7.938 kB / 0.5755 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3869, allocations: 7.984 kB / 0.5755 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.3874, allocations: 392.3 kB / 0.5759 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3874, allocations: 3.938 kB / 0.5759 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3875, allocations: 23.98 kB / 0.5759 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3875, allocations: 4 kB / 0.5759 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.3875, allocations: 11.98 kB / 0.5759 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3875, allocations: 0 / 0.5759 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.3875, allocations: 7.938 kB / 0.5759 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.3882, allocations: 367 kB / 0.5763 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.955e-05/0.3883, allocations: 55.61 kB / 0.5763 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.3884, allocations: 15.98 kB / 0.5763 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.3885, allocations: 15.98 kB / 0.5764 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3886, allocations: 35.89 kB / 0.5764 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.3887, allocations: 19.98 kB / 0.5764 GB, free: 4.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006099/0.3893, allocations: 490.8 kB / 0.5769 GB, free: 3.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3893, allocations: 0 / 0.5769 GB, free: 3.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.3897, allocations: 99.92 kB / 0.577 GB, free: 3.746 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002553/0.3923, allocations: 1.267 MB / 0.5782 GB, free: 2.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005986/0.3929, allocations: 227.5 kB / 0.5784 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3929, allocations: 0 / 0.5784 GB, free: 2.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.3932, allocations: 160.1 kB / 0.5786 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.3939, allocations: 144.4 kB / 0.5787 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/0.4001, allocations: 4.279 MB / 0.5829 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.4006, allocations: 0.8506 MB / 0.5837 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000284/0.4009, allocations: 91.23 kB / 0.5838 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.4012, allocations: 171.4 kB / 0.584 GB, free: 12.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4012, allocations: 4 kB / 0.584 GB, free: 12.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.4436, allocations: 13.01 MB / 0.5967 GB, free: 15.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.034/9.478, allocations: 4.625 kB / 0.5967 GB, free: 15.51 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.439826854970306] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 9.641268170904368 9.669123358 9.289270243 Calling exit ...