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.SubSample.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.001264/0.001264, 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.001595/0.001595, allocations: 213.2 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",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.001928/0.001928, allocations: 64.78 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2485, allocations: 53.36 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002981/0.2514, allocations: 1.621 MB / 433.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2525, allocations: 0.5492 MB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.2526, allocations: 3.938 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.65e-05/0.2526, allocations: 3.938 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.2528, allocations: 19.84 kB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.2531, allocations: 55.83 kB / 434.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.2532, allocations: 47.84 kB / 434.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.2533, allocations: 12.17 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2534, allocations: 35.8 kB / 434.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.2535, allocations: 19.92 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.2535, allocations: 4 kB / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.99e-05/0.2535, allocations: 8 kB / 434.3 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.442e-05/0.2536, allocations: 15.92 kB / 434.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.2536, allocations: 31.73 kB / 434.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.2538, allocations: 60.58 kB / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2538, allocations: 0 / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2538, allocations: 0 / 434.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.2538, allocations: 0 / 434.4 MB, free: 4.395 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004616/0.2542, allocations: 309.9 kB / 434.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2543, allocations: 12.03 kB / 434.7 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.2543, allocations: 38.75 kB / 434.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.2545, allocations: 16.88 kB / 434.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2547, allocations: 146.9 kB / 434.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.2547, allocations: 4.125 kB / 434.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2548, allocations: 4 kB / 434.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.255, allocations: 121.9 kB / 435 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.255, allocations: 0 / 435 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.255, allocations: 0 / 435 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.255, allocations: 0 / 435 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.2551, allocations: 23.92 kB / 435.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.2555, allocations: 249.7 kB / 435.3 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.2556, allocations: 67.84 kB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.2556, allocations: 34.56 kB / 435.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2556, allocations: 0 / 435.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.2557, allocations: 38.5 kB / 435.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2557, allocations: 0 / 435.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002713/0.2559, allocations: 85.83 kB / 435.5 MB, free: 3.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.256, allocations: 110.8 kB / 435.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.2562, allocations: 151.8 kB / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2562, allocations: 29.64 kB / 435.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.2562, allocations: 88.14 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.2563, allocations: 7.984 kB / 435.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.2563, allocations: 21.67 kB / 435.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2564, allocations: 314.9 kB / 436.2 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.042e-05/0.2565, allocations: 19.92 kB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.2565, allocations: 39.36 kB / 436.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.97e-05/0.2566, allocations: 51.36 kB / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2566, allocations: 0 / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001346/0.2568, allocations: 65.61 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2568, allocations: 4 kB / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.2568, allocations: 4 kB / 436.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2568, allocations: 0 / 436.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.2569, allocations: 12.12 kB / 436.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2569, allocations: 3.938 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.2569, allocations: 11.98 kB / 436.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.2569, allocations: 0 / 436.5 MB, free: 2.078 MB / 334.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: 0 () * 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 8.786e-05/0.257, allocations: 121.8 kB / 436.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.2571, allocations: 53.59 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.2571, allocations: 11.97 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2571, allocations: 0 / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2571, allocations: 12 kB / 436.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2572, allocations: 0 / 436.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2573, allocations: 148.7 kB / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2573, allocations: 0 / 436.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.2574, allocations: 11.94 kB / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2574, allocations: 0 / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.2574, allocations: 96 / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.2574, allocations: 4 kB / 436.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2574, allocations: 3.938 kB / 436.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.2576, allocations: 185.2 kB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.2576, allocations: 11.95 kB / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2577, allocations: 0 / 437 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.2577, allocations: 11.98 kB / 437 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.2578, allocations: 7.875 kB / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.2578, allocations: 0 / 437 MB, free: 1.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.252e-05/0.2578, allocations: 122 kB / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2578, allocations: 0 / 437.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.2581, allocations: 4 kB / 437.1 MB, free: 1.301 MB / 334.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: 0 () * 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.0004716/0.2586, allocations: 0.7063 MB / 437.9 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.2587, allocations: 35.91 kB / 437.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2587, allocations: 0 / 437.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.2587, allocations: 11.94 kB / 437.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2591, allocations: 27.89 kB / 437.9 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.2606, allocations: 1.41 MB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.2609, allocations: 0.6924 MB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.2609, allocations: 4.125 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.261, allocations: 19.44 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.261, allocations: 0 / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.2846, allocations: 1.722 MB / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/8.133, allocations: 3.25 kB / 441.8 MB, free: 12.6 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.46914096083492] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'subSample1.y'] 8.213292646221817 8.227373402 7.970646799 Calling exit ...