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.BackSample.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.001705/0.001705, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002126/0.002126, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001994/0.001994, allocations: 68.55 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2621, allocations: 53.35 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002815/0.2649, allocations: 1.651 MB / 433.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.266, allocations: 0.5919 MB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.947e-05/0.2661, allocations: 4 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.477e-05/0.2661, allocations: 7.875 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2663, allocations: 23.86 kB / 434.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.2666, allocations: 59.77 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.2667, allocations: 63.77 kB / 434.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.2668, allocations: 12.22 kB / 434.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2669, allocations: 35.86 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.267, allocations: 31.78 kB / 434.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.267, allocations: 4 kB / 434.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.056e-05/0.2671, allocations: 4 kB / 434.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.2671, allocations: 19.92 kB / 434.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.2671, allocations: 31.81 kB / 434.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2673, allocations: 76.44 kB / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2673, allocations: 0 / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2673, allocations: 0 / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.2673, allocations: 0 / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004802/0.2678, allocations: 317.8 kB / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2678, allocations: 8.031 kB / 434.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.2679, allocations: 38.75 kB / 434.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.268, allocations: 20.83 kB / 434.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.2683, allocations: 158.3 kB / 435.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2683, allocations: 4.375 kB / 435.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.2683, allocations: 4.375 kB / 435.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.2686, allocations: 142.8 kB / 435.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2686, allocations: 0 / 435.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2686, allocations: 4 kB / 435.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2687, allocations: 7.984 kB / 435.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.2687, allocations: 23.92 kB / 435.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.2691, allocations: 262.5 kB / 435.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.2692, allocations: 94.36 kB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.2693, allocations: 43.48 kB / 435.6 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2693, allocations: 4 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2694, allocations: 34.56 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2694, allocations: 0 / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002922/0.2697, allocations: 109.4 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.2698, allocations: 136.5 kB / 435.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2699, allocations: 150.2 kB / 436.1 MB, free: 2.445 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2699, allocations: 25.7 kB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.27, allocations: 96.62 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.27, allocations: 11.95 kB / 436.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.27, allocations: 17.72 kB / 436.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2702, allocations: 326.8 kB / 436.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.2702, allocations: 11.98 kB / 436.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.2703, allocations: 41.28 kB / 436.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.2704, allocations: 73.06 kB / 436.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2704, allocations: 3.938 kB / 436.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001541/0.2705, allocations: 85.52 kB / 436.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2706, allocations: 11.98 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2706, allocations: 0 / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2706, allocations: 4 kB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.2707, allocations: 11.94 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2707, allocations: 4 kB / 436.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.2707, allocations: 7.922 kB / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.2707, allocations: 8.188 kB / 436.8 MB, free: 1.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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 9.556e-05/0.2708, allocations: 125.8 kB / 436.9 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.2709, allocations: 65.53 kB / 437 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.83e-05/0.271, allocations: 23.91 kB / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.271, allocations: 0 / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.271, allocations: 4 kB / 437 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.271, allocations: 0 / 437 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2712, allocations: 152.6 kB / 437.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2712, allocations: 8.094 kB / 437.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.2712, allocations: 11.94 kB / 437.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2712, allocations: 0 / 437.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.2712, allocations: 4 kB / 437.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2713, allocations: 3.984 kB / 437.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2713, allocations: 4 kB / 437.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.2715, allocations: 201.9 kB / 437.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.2715, allocations: 19.94 kB / 437.4 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2715, allocations: 4 kB / 437.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.2716, allocations: 0 / 437.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.2716, allocations: 8 kB / 437.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.2717, allocations: 0 / 437.4 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.611e-05/0.2717, allocations: 118.5 kB / 437.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2717, allocations: 4 kB / 437.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.272, allocations: 8 kB / 437.5 MB, free: 0.8164 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0005297/0.2725, allocations: 0.7461 MB / 438.3 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.2727, allocations: 39.97 kB / 438.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2727, allocations: 0 / 438.3 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.2727, allocations: 11.94 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.2731, allocations: 48.59 kB / 438.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2747, allocations: 1.502 MB / 439.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.2751, allocations: 0.7041 MB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.756e-05/0.2751, allocations: 4.672 kB / 440.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.2752, allocations: 23.42 kB / 440.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.2752, allocations: 0 / 440.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.3002, allocations: 2.098 MB / 442.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.159, allocations: 7.312 kB / 442.7 MB, free: 11.55 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.79319e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.51361615397036] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'backSample1.y'] 8.228210059925914 8.255567813 7.983140307 Calling exit ...