Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 120.4 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 208.9 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.5 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 71.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.121, allocations: 53.31 MB / 426.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002742/0.1238, allocations: 1.458 MB / 428.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000322/0.1241, allocations: 95.73 kB / 428.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.1241, allocations: 0 / 428.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.1242, allocations: 3.938 kB / 428.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.231e-05/0.1242, allocations: 3.938 kB / 428.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1245, allocations: 23.98 kB / 428.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.166e-05/0.1245, allocations: 23.91 kB / 428.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.1246, allocations: 11.98 kB / 428.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.1247, allocations: 11.94 kB / 428.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.1247, allocations: 7.938 kB / 428.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.1247, allocations: 4 kB / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.735e-06/0.1247, allocations: 0 / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.1248, allocations: 7.984 kB / 428.5 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.1248, allocations: 15.88 kB / 428.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.911e-05/0.1249, allocations: 35.77 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1249, allocations: 0 / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1249, allocations: 4 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1249, allocations: 0 / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004717/0.1254, allocations: 347.3 kB / 428.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1254, allocations: 12.03 kB / 428.9 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.1255, allocations: 30.75 kB / 429 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.514e-05/0.1255, allocations: 8.891 kB / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1257, allocations: 176.4 kB / 429.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1257, allocations: 384 / 429.1 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.1258, allocations: 8.375 kB / 429.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.1261, allocations: 107.9 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1261, allocations: 3.938 kB / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1261, allocations: 0 / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1261, allocations: 0 / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.337e-05/0.1262, allocations: 31.91 kB / 429.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.1264, allocations: 157.6 kB / 429.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.1265, allocations: 50.55 kB / 429.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1266, allocations: 24.92 kB / 429.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1266, allocations: 0 / 429.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1266, allocations: 34.56 kB / 429.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.1266, allocations: 0 / 429.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000221/0.1269, allocations: 73.55 kB / 429.6 MB, free: 1.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.1269, allocations: 55.41 kB / 429.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.245e-05/0.127, allocations: 105.8 kB / 429.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.127, allocations: 33.64 kB / 429.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1271, allocations: 84.14 kB / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.1271, allocations: 0 / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1271, allocations: 25.7 kB / 429.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1273, allocations: 310.8 kB / 430.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.1273, allocations: 4 kB / 430.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.1273, allocations: 27.44 kB / 430.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.155e-05/0.1274, allocations: 47.36 kB / 430.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1274, allocations: 0 / 430.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.251e-05/0.1275, allocations: 57.53 kB / 430.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1275, allocations: 11.92 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1275, allocations: 0 / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1275, allocations: 4 kB / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.1276, allocations: 4.125 kB / 430.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1276, allocations: 4 kB / 430.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.1276, allocations: 4 kB / 430.4 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.1276, allocations: 0 / 430.4 MB, free: 1.086 MB / 350.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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001115/0.1277, allocations: 113.8 kB / 430.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.1278, allocations: 65.55 kB / 430.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.1278, allocations: 7.906 kB / 430.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1278, allocations: 0 / 430.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1279, allocations: 3.938 kB / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1279, allocations: 4 kB / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.128, allocations: 157.6 kB / 430.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.128, allocations: 256 / 430.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.128, allocations: 15.98 kB / 430.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.128, allocations: 3.938 kB / 430.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.128, allocations: 0 / 430.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.128, allocations: 0 / 430.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.128, allocations: 0 / 430.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.1282, allocations: 93.33 kB / 430.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.1282, allocations: 85.14 kB / 430.9 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1283, allocations: 3.938 kB / 430.9 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.1283, allocations: 0 / 430.9 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-06/0.1283, allocations: 7.984 kB / 430.9 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1283, allocations: 0 / 430.9 MB, free: 432 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.513e-05/0.1283, allocations: 87.22 kB / 431 MB, free: 344 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1283, allocations: 0 / 431 MB, free: 344 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1285, allocations: 4 kB / 431 MB, free: 340 kB / 350.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 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0005134/0.129, allocations: 0.6241 MB / 431.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1292, allocations: 27.92 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1292, allocations: 0 / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1292, allocations: 256 / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.1294, allocations: 26.05 kB / 431.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.1305, allocations: 1.154 MB / 432.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1309, allocations: 0.6846 MB / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.813e-05/0.131, allocations: 0 / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.131, allocations: 7.438 kB / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.131, allocations: 96 / 433.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.1568, allocations: 1.26 MB / 434.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.051, allocations: 19 kB / 434.8 MB, free: 12.52 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.559522156137973] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.115383814089 8.303575723 8.001032103 Calling exit ...