Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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.001421/0.001421, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002845/0.002845, allocations: 215.5 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 207.7 MB / 234.6 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2407/0.2407, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OnDelay,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00232/0.00232, allocations: 71.91 kB / 468.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1294, allocations: 61.05 MB / 0.5169 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003492/0.1329, allocations: 1.846 MB / 0.5187 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1345, allocations: 0.9208 MB / 0.5196 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.1346, allocations: 4 kB / 0.5196 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000688/0.1353, allocations: 195.4 kB / 0.5198 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1357, allocations: 127.5 kB / 0.5199 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1362, allocations: 183.6 kB / 0.5201 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.1365, allocations: 259.4 kB / 0.5203 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1366, allocations: 30 kB / 0.5204 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1368, allocations: 119.6 kB / 0.5205 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.137, allocations: 123.5 kB / 0.5206 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.067e-05/0.137, allocations: 20 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1372, allocations: 63.95 kB / 0.5207 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1373, allocations: 63.83 kB / 0.5207 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1374, allocations: 95.52 kB / 0.5208 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.1378, allocations: 278.9 kB / 0.5211 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1378, allocations: 4 kB / 0.5211 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1378, allocations: 0 / 0.5211 GB, free: 2.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1378, allocations: 0 / 0.5211 GB, free: 2.859 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000974/0.1388, allocations: 0.5895 MB / 0.5217 GB, free: 2.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1388, allocations: 12.03 kB / 0.5217 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.209e-05/0.1388, allocations: 4.125 kB / 0.5217 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.1389, allocations: 46.69 kB / 0.5217 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.139, allocations: 36.78 kB / 0.5218 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1393, allocations: 205.2 kB / 0.522 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.1395, allocations: 178.3 kB / 0.5221 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.1395, allocations: 20 kB / 0.5222 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.1399, allocations: 271.8 kB / 0.5224 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1399, allocations: 0 / 0.5224 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.1399, allocations: 8 kB / 0.5224 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1399, allocations: 0 / 0.5224 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.1402, allocations: 181 kB / 0.5226 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008634/0.1411, allocations: 0.5547 MB / 0.5231 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.1415, allocations: 245 kB / 0.5234 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.1417, allocations: 163.6 kB / 0.5235 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1417, allocations: 4 kB / 0.5235 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005778/0.1423, allocations: 0.5137 MB / 0.524 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.1423, allocations: 0 / 0.524 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001045/0.1434, allocations: 0.6178 MB / 0.5246 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.1435, allocations: 221.6 kB / 0.5249 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.1439, allocations: 317 kB / 0.5252 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.144, allocations: 33.7 kB / 0.5252 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1441, allocations: 136.6 kB / 0.5253 GB, free: 14.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.1441, allocations: 47.64 kB / 0.5254 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.1442, allocations: 57.69 kB / 0.5254 GB, free: 13.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1444, allocations: 334.8 kB / 0.5257 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.1446, allocations: 145.1 kB / 0.5259 GB, free: 13.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.1449, allocations: 294.7 kB / 0.5262 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.1454, allocations: 375.3 kB / 0.5265 GB, free: 12.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1454, allocations: 0 / 0.5265 GB, free: 12.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000639/0.146, allocations: 439.3 kB / 0.5269 GB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/0.1461, allocations: 101.1 kB / 0.527 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1461, allocations: 4 kB / 0.527 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1461, allocations: 3.938 kB / 0.527 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1462, allocations: 20.2 kB / 0.5271 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1463, allocations: 8 kB / 0.5271 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1464, allocations: 27.83 kB / 0.5271 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.1464, allocations: 15.98 kB / 0.5271 GB, free: 11.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0002461/0.1467, allocations: 257.5 kB / 0.5274 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.919e-05/0.1467, allocations: 35.78 kB / 0.5274 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004495/0.1472, allocations: 238.6 kB / 0.5276 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1472, allocations: 4 kB / 0.5276 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1472, allocations: 4 kB / 0.5276 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1472, allocations: 3.984 kB / 0.5276 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1475, allocations: 236.5 kB / 0.5279 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.1475, allocations: 4.094 kB / 0.5279 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.1475, allocations: 11.92 kB / 0.5279 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1475, allocations: 0 / 0.5279 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.1475, allocations: 12 kB / 0.5279 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.361e-06/0.1475, allocations: 7.938 kB / 0.5279 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1475, allocations: 4 kB / 0.5279 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.1483, allocations: 0.5281 MB / 0.5284 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.1483, allocations: 31.78 kB / 0.5284 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.1484, allocations: 12 kB / 0.5284 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1485, allocations: 15.98 kB / 0.5285 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.1486, allocations: 23.92 kB / 0.5285 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.1486, allocations: 11.98 kB / 0.5285 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002458/0.1489, allocations: 236.5 kB / 0.5287 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1489, allocations: 0 / 0.5287 GB, free: 10.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.1492, allocations: 71.88 kB / 0.5288 GB, free: 10.07 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: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.002707/0.1519, allocations: 1.428 MB / 0.5302 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.1527, allocations: 0.5392 MB / 0.5307 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1527, allocations: 0 / 0.5307 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.1531, allocations: 367.2 kB / 0.5311 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1535, allocations: 53.88 kB / 0.5311 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.1577, allocations: 3.309 MB / 0.5343 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.1579, allocations: 140.5 kB / 0.5345 GB, free: 3.812 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.158, allocations: 25.78 kB / 0.5345 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.1582, allocations: 67.41 kB / 0.5346 GB, free: 3.723 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1582, allocations: 0 / 0.5346 GB, free: 3.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2916/0.4498, allocations: 6.707 MB / 0.5411 GB, free: 28.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.4, allocations: 14.33 kB / 0.5411 GB, free: 28.81 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --stepSize=0.00219124 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.672667560982518] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'onDelay1.delaySignal', 'onDelay1.t_next', 'onDelay1.u', 'onDelay2.delaySignal', 'onDelay2.t_next', 'onDelay2.u', 'onDelay3.delaySignal', 'onDelay3.t_next', 'onDelay3.u'] 12.625286878086627 12.647832096 12.505431219 Calling exit ...