Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002338/0.002338, allocations: 212.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2344/0.2344, allocations: 46.93 MB / 361.6 MB, free: 4.258 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 59.91 kB / 0.4969 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3374, allocations: 66.03 MB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003836/0.3412, allocations: 2.342 MB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.3443, allocations: 1.72 MB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.3445, allocations: 11.88 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.345, allocations: 147.2 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006802/0.3457, allocations: 286.9 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3471, allocations: 0.5372 MB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007644/0.3479, allocations: 0.5764 MB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.3481, allocations: 51.22 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.3484, allocations: 243 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3487, allocations: 243 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.3488, allocations: 24 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.3492, allocations: 207.7 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.3493, allocations: 139.5 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.3496, allocations: 202.7 kB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008888/0.3504, allocations: 0.603 MB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3505, allocations: 0 / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3505, allocations: 0 / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3505, allocations: 3.938 kB / 0.5685 GB, free: 13.14 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.001612/0.3521, allocations: 0.8574 MB / 0.5694 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.3521, allocations: 12.03 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.881e-05/0.3522, allocations: 12.42 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.211e-05/0.3523, allocations: 46.73 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3524, allocations: 60.56 kB / 0.5695 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009016/0.3533, allocations: 413.4 kB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.3533, allocations: 12.36 kB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.3533, allocations: 19.98 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.3539, allocations: 268.6 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3539, allocations: 0 / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.3539, allocations: 7.984 kB / 0.5702 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3539, allocations: 7.938 kB / 0.5702 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.3543, allocations: 111.9 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3554, allocations: 0.8554 MB / 0.5711 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.3561, allocations: 286.5 kB / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.3564, allocations: 95.39 kB / 0.5715 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.3564, allocations: 11.98 kB / 0.5715 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.3568, allocations: 214.6 kB / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.743e-06/0.3568, allocations: 0 / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001064/0.3579, allocations: 409 kB / 0.5721 GB, free: 9.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002329/0.3581, allocations: 346.1 kB / 0.5724 GB, free: 8.797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.359, allocations: 0.6708 MB / 0.5731 GB, free: 8.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.3591, allocations: 33.7 kB / 0.5731 GB, free: 8.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.3593, allocations: 236.5 kB / 0.5734 GB, free: 7.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.354e-05/0.3594, allocations: 71.55 kB / 0.5734 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3595, allocations: 61.69 kB / 0.5735 GB, free: 7.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.3597, allocations: 362.8 kB / 0.5738 GB, free: 7.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.3599, allocations: 91.94 kB / 0.5739 GB, free: 7.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.3603, allocations: 245.6 kB / 0.5741 GB, free: 6.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.3608, allocations: 235.7 kB / 0.5744 GB, free: 6.695 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.3608, allocations: 0 / 0.5744 GB, free: 6.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006907/0.3615, allocations: 317.1 kB / 0.5747 GB, free: 6.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3615, allocations: 8 kB / 0.5747 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3615, allocations: 3.938 kB / 0.5747 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3615, allocations: 7.938 kB / 0.5747 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3618, allocations: 51.91 kB / 0.5747 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3618, allocations: 12.06 kB / 0.5748 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.362, allocations: 27.88 kB / 0.5748 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.362, allocations: 16.23 kB / 0.5748 GB, free: 6.254 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.0002787/0.3623, allocations: 221.7 kB / 0.575 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.926e-05/0.3624, allocations: 63.61 kB / 0.5751 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008153/0.3632, allocations: 349.6 kB / 0.5754 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.3632, allocations: 4 kB / 0.5754 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3632, allocations: 3.984 kB / 0.5754 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.3632, allocations: 0 / 0.5754 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.3637, allocations: 400.3 kB / 0.5758 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3637, allocations: 3.938 kB / 0.5758 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.3639, allocations: 23.98 kB / 0.5758 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3639, allocations: 0 / 0.5758 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.3639, allocations: 15.92 kB / 0.5758 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3639, allocations: 4.25 kB / 0.5758 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.3639, allocations: 8 kB / 0.5758 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.3646, allocations: 366.7 kB / 0.5762 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.3647, allocations: 55.61 kB / 0.5762 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.3648, allocations: 15.92 kB / 0.5763 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.3649, allocations: 19.98 kB / 0.5763 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3651, allocations: 35.95 kB / 0.5763 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.3651, allocations: 15.98 kB / 0.5763 GB, free: 4.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006221/0.3657, allocations: 490.8 kB / 0.5768 GB, free: 4.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 0 / 0.5768 GB, free: 4.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.3661, allocations: 99.92 kB / 0.5769 GB, free: 4.016 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.002636/0.3688, allocations: 1.269 MB / 0.5781 GB, free: 2.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.3694, allocations: 223.6 kB / 0.5783 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3694, allocations: 0 / 0.5783 GB, free: 2.652 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.3698, allocations: 155.8 kB / 0.5785 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.3705, allocations: 150.3 kB / 0.5786 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.3767, allocations: 4.286 MB / 0.5828 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.3773, allocations: 0.8506 MB / 0.5837 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.3776, allocations: 87.25 kB / 0.5837 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.3778, allocations: 175.4 kB / 0.5839 GB, free: 12.79 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3778, allocations: 0 / 0.5839 GB, free: 12.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03956/0.4174, allocations: 13.13 MB / 0.5967 GB, free: 15.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.7, allocations: 9.719 kB / 0.5967 GB, free: 15.77 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.80107758298982] Failed to read output from testmodel.py, exit status != 0: ['time', 'integerTable.y', 'integerTable2.y', 'integerTable3.y', 'integerTable4.y'] 12.93145369697595 12.951864598 12.597851381 Calling exit ...