Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001283/0.001283, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001477/0.001477, allocations: 216.5 kB / 24.52 MB, free: 3.91 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.526/1.526, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2325/0.2325, allocations: 44.93 MB / 359.6 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.91 kB / 0.4938 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4061, allocations: 65.47 MB / 0.5578 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003591/0.4097, allocations: 1.777 MB / 0.5595 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.4117, allocations: 1.042 MB / 0.5605 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.4118, allocations: 0 / 0.5605 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.4124, allocations: 311.2 kB / 0.5608 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.4129, allocations: 267.2 kB / 0.5611 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.4132, allocations: 103.7 kB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003423/0.4135, allocations: 267.2 kB / 0.5614 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.78e-05/0.4136, allocations: 9.797 kB / 0.5615 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.4137, allocations: 135.5 kB / 0.5616 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.414, allocations: 215.5 kB / 0.5618 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.414, allocations: 8 kB / 0.5618 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.4142, allocations: 47.98 kB / 0.5618 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.4143, allocations: 147.5 kB / 0.562 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.4145, allocations: 115 kB / 0.5621 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.415, allocations: 384.1 kB / 0.5625 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.415, allocations: 0 / 0.5625 GB, free: 2.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.415, allocations: 0 / 0.5625 GB, free: 2.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.415, allocations: 0 / 0.5625 GB, free: 2.664 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001077/0.4161, allocations: 0.6841 MB / 0.5631 GB, free: 1.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4161, allocations: 12.03 kB / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.721e-05/0.4161, allocations: 192 / 0.5631 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.4162, allocations: 42.73 kB / 0.5632 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.4163, allocations: 52.61 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.4169, allocations: 394.5 kB / 0.5636 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.4169, allocations: 8.125 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.4169, allocations: 8 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.4171, allocations: 91.3 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4171, allocations: 0 / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.4171, allocations: 4 kB / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4172, allocations: 0 / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.4173, allocations: 31.97 kB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.4177, allocations: 337.4 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.418, allocations: 113.1 kB / 0.5642 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4181, allocations: 41.69 kB / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.4181, allocations: 0 / 0.5642 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/0.4184, allocations: 117 kB / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.4184, allocations: 0 / 0.5643 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005862/0.419, allocations: 213.2 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.419, allocations: 77.11 kB / 0.5646 GB, free: 288 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.4203, allocations: 1.058 MB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.4203, allocations: 33.7 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.4205, allocations: 236.1 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.4206, allocations: 31.8 kB / 0.5659 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.4207, allocations: 25.72 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.4209, allocations: 374.8 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.421, allocations: 31.98 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.4211, allocations: 59.41 kB / 0.5664 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.4213, allocations: 99.3 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4213, allocations: 0.5 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003209/0.4216, allocations: 181.2 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4216, allocations: 10.59 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.4216, allocations: 4 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.4216, allocations: 0 / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4218, allocations: 19.98 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4218, allocations: 8.062 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.4219, allocations: 15.92 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.4219, allocations: 4 kB / 0.5667 GB, free: 14.05 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002575/0.4221, allocations: 229.6 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.4222, allocations: 59.61 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.4227, allocations: 205.8 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4227, allocations: 4 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4227, allocations: 0 / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4227, allocations: 0 / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.423, allocations: 300.5 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.423, allocations: 0 / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-05/0.4231, allocations: 11.98 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4231, allocations: 4 kB / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4231, allocations: 0 / 0.5675 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.4231, allocations: 4 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4231, allocations: 0 / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.4235, allocations: 229.4 kB / 0.5677 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.4236, allocations: 67.59 kB / 0.5678 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.281e-05/0.4236, allocations: 8.25 kB / 0.5678 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.4237, allocations: 11.94 kB / 0.5678 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.4238, allocations: 11.97 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.4238, allocations: 8 kB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008709/0.4247, allocations: 0.7917 MB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4247, allocations: 0 / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.4249, allocations: 44 kB / 0.5686 GB, free: 12 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002333/0.4273, allocations: 1.093 MB / 0.5697 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.4276, allocations: 87.89 kB / 0.5698 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4276, allocations: 0 / 0.5698 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4277, allocations: 48.28 kB / 0.5698 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4281, allocations: 73.14 kB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.4349, allocations: 4.586 MB / 0.5744 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.4351, allocations: 249.7 kB / 0.5746 GB, free: 5.891 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.4353, allocations: 54.94 kB / 0.5747 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.4355, allocations: 151.4 kB / 0.5748 GB, free: 5.691 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4355, allocations: 0 / 0.5748 GB, free: 5.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03296/0.4685, allocations: 9.671 MB / 0.5843 GB, free: 12.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.39, allocations: 0 / 0.5843 GB, free: 12.14 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.480767006985843] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.617192232050002 12.635010725 12.216668999 Calling exit ...