Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001798/0.001798, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001675/0.001675, allocations: 215 kB / 21.45 MB, free: 1.617 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.554/1.554, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2268/0.2268, allocations: 44.9 MB / 355.8 MB, free: 12.34 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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.002322/0.002322, allocations: 75.88 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1324, allocations: 65.4 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003242/0.1357, allocations: 1.7 MB / 0.5542 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1375, allocations: 1.017 MB / 0.5552 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1376, allocations: 0 / 0.5552 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1379, allocations: 63.73 kB / 0.5552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.1383, allocations: 107.6 kB / 0.5553 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1386, allocations: 79.66 kB / 0.5554 GB, free: 7.078 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.1388, allocations: 103.7 kB / 0.5555 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.892e-05/0.1388, allocations: 8.219 kB / 0.5555 GB, free: 6.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.139, allocations: 47.78 kB / 0.5556 GB, free: 6.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1391, allocations: 55.69 kB / 0.5556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.1391, allocations: 4 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1392, allocations: 39.92 kB / 0.5556 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.971e-05/0.1393, allocations: 15.94 kB / 0.5557 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.1393, allocations: 35.78 kB / 0.5557 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.1396, allocations: 103.8 kB / 0.5558 GB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1396, allocations: 0 / 0.5558 GB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1396, allocations: 0 / 0.5558 GB, free: 6.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1396, allocations: 3.938 kB / 0.5558 GB, free: 6.668 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007475/0.1403, allocations: 410.7 kB / 0.5562 GB, free: 6.219 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.1404, allocations: 12.03 kB / 0.5562 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.587e-05/0.1404, allocations: 192 / 0.5562 GB, free: 6.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1405, allocations: 34.75 kB / 0.5562 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.1405, allocations: 12.84 kB / 0.5562 GB, free: 6.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005083/0.141, allocations: 215.2 kB / 0.5565 GB, free: 5.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1411, allocations: 8.125 kB / 0.5565 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1411, allocations: 0 / 0.5565 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.1413, allocations: 53.66 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1413, allocations: 4 kB / 0.5565 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1413, allocations: 3.938 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1413, allocations: 0 / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.1414, allocations: 15.98 kB / 0.5565 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.1417, allocations: 185.6 kB / 0.5567 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.1419, allocations: 54.55 kB / 0.5568 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.142, allocations: 16.86 kB / 0.5568 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.142, allocations: 3.984 kB / 0.5568 GB, free: 5.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1422, allocations: 71.33 kB / 0.5568 GB, free: 5.418 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.1422, allocations: 0 / 0.5568 GB, free: 5.418 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004058/0.1426, allocations: 93.62 kB / 0.5569 GB, free: 5.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.1427, allocations: 51.41 kB / 0.557 GB, free: 5.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1429, allocations: 206.2 kB / 0.5572 GB, free: 5.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.143, allocations: 25.7 kB / 0.5572 GB, free: 5.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.143, allocations: 104.1 kB / 0.5573 GB, free: 4.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.1431, allocations: 11.91 kB / 0.5573 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.1431, allocations: 21.72 kB / 0.5573 GB, free: 4.871 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1433, allocations: 322.8 kB / 0.5576 GB, free: 4.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.1434, allocations: 16.23 kB / 0.5577 GB, free: 4.531 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.1434, allocations: 37.62 kB / 0.5577 GB, free: 4.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1435, allocations: 49.66 kB / 0.5577 GB, free: 4.434 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1435, allocations: 0 / 0.5577 GB, free: 4.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001977/0.1437, allocations: 89.52 kB / 0.5578 GB, free: 4.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1438, allocations: 6.031 kB / 0.5578 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1438, allocations: 4 kB / 0.5578 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1438, allocations: 0 / 0.5578 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.1439, allocations: 11.94 kB / 0.5579 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1439, allocations: 0 / 0.5579 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.1439, allocations: 4 kB / 0.5579 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1439, allocations: 4 kB / 0.5579 GB, free: 4.312 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 (7): * Single equations (assignments): 7 * 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.0001292/0.1441, allocations: 132 kB / 0.558 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.1441, allocations: 11.98 kB / 0.558 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.1442, allocations: 20.92 kB / 0.558 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1442, allocations: 0 / 0.558 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1442, allocations: 0 / 0.558 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1442, allocations: 4 kB / 0.558 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.1444, allocations: 185.5 kB / 0.5582 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1444, allocations: 4 kB / 0.5582 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.1444, allocations: 3.984 kB / 0.5582 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1444, allocations: 4 kB / 0.5582 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1444, allocations: 0 / 0.5582 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1444, allocations: 4 kB / 0.5582 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1444, allocations: 0 / 0.5582 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1446, allocations: 109.1 kB / 0.5583 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.147e-05/0.1447, allocations: 93 kB / 0.5584 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1447, allocations: 0 / 0.5584 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.1448, allocations: 4 kB / 0.5584 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1448, allocations: 3.984 kB / 0.5584 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.1448, allocations: 7.938 kB / 0.5584 GB, free: 3.641 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.145, allocations: 156.2 kB / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.145, allocations: 0 / 0.5586 GB, free: 3.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.1452, allocations: 16 kB / 0.5586 GB, free: 3.473 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002056/0.1473, allocations: 0.9438 MB / 0.5595 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1475, allocations: 39.92 kB / 0.5595 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1475, allocations: 0 / 0.5595 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.1475, allocations: 19.98 kB / 0.5596 GB, free: 2.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.1479, allocations: 30.23 kB / 0.5596 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1499, allocations: 1.513 MB / 0.5611 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.1502, allocations: 0.708 MB / 0.5618 GB, free: 244 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.577e-05/0.1503, allocations: 12.55 kB / 0.5618 GB, free: 232 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.1504, allocations: 27.42 kB / 0.5618 GB, free: 204 kB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1504, allocations: 0 / 0.5618 GB, free: 204 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.1708, allocations: 3.222 MB / 0.5649 GB, free: 13.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.384, allocations: 3.938 kB / 0.565 GB, free: 13.05 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.661444759985898] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.561708471970633 8.577242639 8.434647448 Calling exit ...