Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001392/0.001392, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002267/0.002267, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.522/1.522, allocations: 230.6 MB / 254.8 MB, free: 15.24 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.2434/0.2434, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.002013/0.002013, allocations: 67.89 kB / 0.4886 GB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1277, allocations: 65.42 MB / 0.5525 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003425/0.1312, allocations: 1.758 MB / 0.5543 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1331, allocations: 1.033 MB / 0.5553 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.1332, allocations: 7.938 kB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.1336, allocations: 83.7 kB / 0.5553 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.1339, allocations: 115.6 kB / 0.5555 GB, free: 7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1341, allocations: 83.66 kB / 0.5555 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1344, allocations: 123.6 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1345, allocations: 12.27 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1346, allocations: 63.75 kB / 0.5557 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1347, allocations: 55.77 kB / 0.5558 GB, free: 6.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1347, allocations: 8 kB / 0.5558 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1349, allocations: 63.97 kB / 0.5558 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.379e-05/0.1349, allocations: 23.91 kB / 0.5559 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.135, allocations: 43.62 kB / 0.5559 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1353, allocations: 143.4 kB / 0.5561 GB, free: 6.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1353, allocations: 0 / 0.5561 GB, free: 6.391 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1353, allocations: 0 / 0.5561 GB, free: 6.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.1353, allocations: 3.938 kB / 0.5561 GB, free: 6.387 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.0006661/0.1359, allocations: 434.5 kB / 0.5565 GB, free: 5.914 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.136, allocations: 12.03 kB / 0.5565 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.021e-05/0.136, allocations: 4.188 kB / 0.5565 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.1361, allocations: 38.75 kB / 0.5565 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.1361, allocations: 12.84 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1365, allocations: 220.1 kB / 0.5567 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1365, allocations: 8.125 kB / 0.5568 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1365, allocations: 8 kB / 0.5568 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1367, allocations: 53.67 kB / 0.5568 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1367, allocations: 7.969 kB / 0.5568 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1367, allocations: 12 kB / 0.5568 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1367, allocations: 0 / 0.5568 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.1368, allocations: 19.98 kB / 0.5568 GB, free: 5.473 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.1373, allocations: 308.6 kB / 0.5571 GB, free: 5.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.1376, allocations: 54.55 kB / 0.5572 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.1376, allocations: 20.98 kB / 0.5572 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1377, allocations: 4 kB / 0.5572 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.1378, allocations: 71.44 kB / 0.5573 GB, free: 4.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.1378, allocations: 0 / 0.5573 GB, free: 4.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008441/0.1387, allocations: 249.1 kB / 0.5575 GB, free: 4.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.1387, allocations: 51.41 kB / 0.5576 GB, free: 4.637 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.139, allocations: 239.3 kB / 0.5578 GB, free: 4.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.139, allocations: 25.7 kB / 0.5578 GB, free: 4.355 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.1391, allocations: 108.1 kB / 0.5579 GB, free: 4.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1392, allocations: 35.73 kB / 0.558 GB, free: 4.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.1392, allocations: 25.72 kB / 0.558 GB, free: 4.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1394, allocations: 326.8 kB / 0.5583 GB, free: 3.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.714e-05/0.1394, allocations: 31.98 kB / 0.5583 GB, free: 3.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.1395, allocations: 49.33 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1397, allocations: 81.64 kB / 0.5585 GB, free: 3.684 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1397, allocations: 0 / 0.5585 GB, free: 3.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002384/0.1399, allocations: 121.5 kB / 0.5586 GB, free: 3.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.14, allocations: 8 kB / 0.5586 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.14, allocations: 0 / 0.5586 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.14, allocations: 3.938 kB / 0.5586 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.1401, allocations: 23.92 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1401, allocations: 8.031 kB / 0.5586 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1401, allocations: 4 kB / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1402, allocations: 7.984 kB / 0.5586 GB, free: 3.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001291/0.1403, allocations: 128 kB / 0.5587 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.1403, allocations: 15.91 kB / 0.5588 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.1404, allocations: 21.39 kB / 0.5588 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.1404, allocations: 7.938 kB / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1404, allocations: 0 / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1404, allocations: 0 / 0.5588 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.141, allocations: 456 kB / 0.5592 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1411, allocations: 4 kB / 0.5592 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.1411, allocations: 23.92 kB / 0.5593 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.1411, allocations: 0 / 0.5593 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.1411, allocations: 8 kB / 0.5593 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1411, allocations: 0 / 0.5593 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1411, allocations: 0 / 0.5593 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1414, allocations: 233.1 kB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.1415, allocations: 93 kB / 0.5596 GB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1415, allocations: 8 kB / 0.5596 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.1416, allocations: 4.094 kB / 0.5596 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1417, allocations: 15.86 kB / 0.5596 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1417, allocations: 8 kB / 0.5596 GB, free: 2.383 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1419, allocations: 165.2 kB / 0.5598 GB, free: 2.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1419, allocations: 0 / 0.5598 GB, free: 2.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003141/0.1422, allocations: 31.92 kB / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002648/0.1448, allocations: 1.183 MB / 0.5609 GB, free: 1.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.1451, allocations: 79.84 kB / 0.561 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1451, allocations: 0 / 0.561 GB, free: 1.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.311e-05/0.1452, allocations: 35.92 kB / 0.5611 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.1456, allocations: 35.89 kB / 0.5611 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.1481, allocations: 1.821 MB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1485, allocations: 0.7158 MB / 0.5636 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.737e-05/0.1486, allocations: 20.62 kB / 0.5636 GB, free: 14.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.1487, allocations: 47.41 kB / 0.5636 GB, free: 14.32 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1487, allocations: 0 / 0.5636 GB, free: 14.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.1698, allocations: 3.963 MB / 0.5675 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/8.63, allocations: 17.78 kB / 0.5675 GB, free: 10.41 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.788232410035562] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.810488148999866 8.824699069 8.686573699 Calling exit ...