Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001296/0.001296, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001403/0.001403, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.456/1.456, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",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.002657/0.002657, allocations: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1272, allocations: 53.33 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003231/0.1304, allocations: 1.467 MB / 428.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002359/0.1306, allocations: 35.84 kB / 428.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.1307, allocations: 0 / 428.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.1308, allocations: 3.938 kB / 428.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.1308, allocations: 4 kB / 428.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.1311, allocations: 31.91 kB / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.847e-05/0.1312, allocations: 23.98 kB / 428.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1313, allocations: 11.98 kB / 428.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.1314, allocations: 7.938 kB / 428.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.331e-05/0.1314, allocations: 19.91 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1314, allocations: 4 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.1314, allocations: 3.938 kB / 428.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.1315, allocations: 8 kB / 428.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.1315, allocations: 11.88 kB / 428.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1316, allocations: 43.81 kB / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1316, allocations: 0 / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1316, allocations: 0 / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1316, allocations: 0 / 428.7 MB, free: 3.09 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.0004924/0.1321, allocations: 339.5 kB / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1322, allocations: 12.03 kB / 429 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.1322, allocations: 34.75 kB / 429.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.1322, allocations: 4.891 kB / 429.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.1325, allocations: 180.2 kB / 429.2 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1325, allocations: 8.375 kB / 429.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1325, allocations: 4.375 kB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.1329, allocations: 119.8 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1329, allocations: 3.938 kB / 429.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.1329, allocations: 4 kB / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1329, allocations: 0 / 429.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.133, allocations: 27.91 kB / 429.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.1332, allocations: 157.7 kB / 429.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1334, allocations: 54.55 kB / 429.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.1335, allocations: 24.92 kB / 429.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1335, allocations: 3.938 kB / 429.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1335, allocations: 30.56 kB / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1335, allocations: 0 / 429.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003057/0.1338, allocations: 93.53 kB / 429.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.1339, allocations: 59.39 kB / 429.8 MB, free: 1.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.134, allocations: 101.9 kB / 429.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.134, allocations: 25.7 kB / 429.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.134, allocations: 88.12 kB / 430 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.1341, allocations: 0 / 430 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.1341, allocations: 17.72 kB / 430.1 MB, free: 1.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1342, allocations: 314.8 kB / 430.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.1343, allocations: 15.92 kB / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.1343, allocations: 27.44 kB / 430.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.906e-05/0.1344, allocations: 39.38 kB / 430.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1344, allocations: 4 kB / 430.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.881e-05/0.1344, allocations: 57.58 kB / 430.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1345, allocations: 11.94 kB / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1345, allocations: 0 / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1345, allocations: 0 / 430.5 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.174e-05/0.1345, allocations: 8 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1346, allocations: 7.984 kB / 430.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.1346, allocations: 384 / 430.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.1346, allocations: 128 / 430.5 MB, free: 0.9844 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001069/0.1347, allocations: 125.8 kB / 430.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.1348, allocations: 69.61 kB / 430.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.926e-05/0.1349, allocations: 3.906 kB / 430.7 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1349, allocations: 3.938 kB / 430.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1349, allocations: 0 / 430.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1349, allocations: 0 / 430.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.135, allocations: 161.6 kB / 430.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.135, allocations: 0 / 430.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.1351, allocations: 11.94 kB / 430.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1351, allocations: 11.94 kB / 430.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1351, allocations: 3.984 kB / 430.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1351, allocations: 0 / 430.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1351, allocations: 0 / 430.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1353, allocations: 93.05 kB / 431 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.1353, allocations: 77.11 kB / 431.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1353, allocations: 7.938 kB / 431.1 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.1354, allocations: 3.984 kB / 431.1 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-06/0.1354, allocations: 4 kB / 431.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1354, allocations: 4 kB / 431.1 MB, free: 308 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.1354, allocations: 83.28 kB / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1354, allocations: 0 / 431.2 MB, free: 224 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.1356, allocations: 4 kB / 431.2 MB, free: 220 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0006681/0.1363, allocations: 0.6553 MB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.1364, allocations: 27.98 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1364, allocations: 0 / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/0.1364, allocations: 7.922 kB / 431.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.1367, allocations: 26.97 kB / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1379, allocations: 1.178 MB / 433.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1382, allocations: 0.6876 MB / 433.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.227e-05/0.1382, allocations: 4 kB / 433.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.1383, allocations: 11.44 kB / 433.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1383, allocations: 0 / 433.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.1621, allocations: 1.404 MB / 435.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.682/7.844, allocations: 15.8 kB / 435.2 MB, free: 12.19 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.46153681119904] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.913433071691543 8.109380478 7.793496349 Calling exit ...