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.HoldWithDAeffects1.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.001789/0.001789, 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.002147/0.002147, 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.599/1.599, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.001993/0.001993, allocations: 71.83 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1187, allocations: 53.32 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003547/0.1223, allocations: 1.875 MB / 428.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1238, allocations: 0.7052 MB / 429.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.124, allocations: 11.88 kB / 429.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.1241, allocations: 27.67 kB / 429.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.1243, allocations: 27.8 kB / 429.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1247, allocations: 110.2 kB / 429.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.125, allocations: 139.6 kB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.1251, allocations: 45.69 kB / 430 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.1253, allocations: 63.72 kB / 430 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1254, allocations: 51.7 kB / 430.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.1254, allocations: 12 kB / 430.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.1255, allocations: 16 kB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.1256, allocations: 31.84 kB / 430.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.474e-05/0.1256, allocations: 67.61 kB / 430.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1259, allocations: 151.2 kB / 430.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1259, allocations: 4 kB / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1259, allocations: 0 / 430.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1259, allocations: 0 / 430.3 MB, free: 1.445 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007002/0.1266, allocations: 454.8 kB / 430.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1267, allocations: 8.031 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.832e-05/0.1267, allocations: 42.73 kB / 430.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.1269, allocations: 36.83 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.1273, allocations: 252.1 kB / 431.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1274, allocations: 11.94 kB / 431.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1274, allocations: 8 kB / 431.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.128, allocations: 272.7 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.128, allocations: 3.938 kB / 431.4 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1281, allocations: 8 kB / 431.4 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.1281, allocations: 4 kB / 431.4 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.1283, allocations: 79.81 kB / 431.5 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.1291, allocations: 419.5 kB / 431.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.1296, allocations: 286.1 kB / 432.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1298, allocations: 112.2 kB / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.1299, allocations: 7.984 kB / 432.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.1299, allocations: 42.48 kB / 432.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.1299, allocations: 0 / 432.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006305/0.1306, allocations: 217.3 kB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.1307, allocations: 204.2 kB / 432.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1309, allocations: 174.3 kB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.131, allocations: 29.7 kB / 433 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.1311, allocations: 104.1 kB / 433.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.1311, allocations: 11.98 kB / 433.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.107e-05/0.1312, allocations: 41.66 kB / 433.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1314, allocations: 322.8 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.1315, allocations: 31.89 kB / 433.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.1316, allocations: 122.6 kB / 433.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.1319, allocations: 165.5 kB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1319, allocations: 0 / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003102/0.1322, allocations: 165.7 kB / 433.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1322, allocations: 11.94 kB / 433.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1322, allocations: 4 kB / 433.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1322, allocations: 4 kB / 433.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1324, allocations: 35.92 kB / 434 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1324, allocations: 7.938 kB / 434 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1325, allocations: 15.92 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1325, allocations: 12 kB / 434 MB, free: 13.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001271/0.1327, allocations: 121.8 kB / 434.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.133, allocations: 157.7 kB / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.133, allocations: 21.39 kB / 434.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.133, allocations: 4.094 kB / 434.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.133, allocations: 3.938 kB / 434.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.133, allocations: 7.938 kB / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.1334, allocations: 213.5 kB / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1334, allocations: 4 kB / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.1335, allocations: 43.91 kB / 434.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1335, allocations: 7.969 kB / 434.6 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.1335, allocations: 4 kB / 434.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1335, allocations: 0 / 434.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.1335, allocations: 11.98 kB / 434.6 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.134, allocations: 363.4 kB / 434.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.1342, allocations: 112.9 kB / 435 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.1342, allocations: 0 / 435 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1344, allocations: 15.98 kB / 435.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1344, allocations: 0 / 435.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.1344, allocations: 11.98 kB / 435.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001244/0.1346, allocations: 132.3 kB / 435.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1346, allocations: 4 kB / 435.2 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.1349, allocations: 20 kB / 435.2 MB, free: 11.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008674/0.1357, allocations: 0.8981 MB / 436.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1361, allocations: 112.3 kB / 436.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1361, allocations: 4.312 kB / 436.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.046e-05/0.1361, allocations: 15.92 kB / 436.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.1368, allocations: 100.1 kB / 436.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.1398, allocations: 2.065 MB / 438.4 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1402, allocations: 0.7241 MB / 439.1 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.167e-05/0.1403, allocations: 21.53 kB / 439.2 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.1404, allocations: 39.42 kB / 439.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1404, allocations: 0 / 439.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.1715, allocations: 3.415 MB / 442.6 MB, free: 4.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.311/8.483, allocations: 19.72 kB / 442.6 MB, free: 4.484 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98486e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.378980226814747] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'hold1.y', '// shiftSample1.y'] 8.554044157732278 8.732871792 8.604387544 Calling exit ...