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.Sample2.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.001655/0.001655, 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.002003/0.002003, allocations: 213.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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.00193/0.00193, allocations: 68.91 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.259, allocations: 53.36 MB / 431.9 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002875/0.2618, allocations: 1.587 MB / 433.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.2622, allocations: 147.5 kB / 433.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.2623, allocations: 3.938 kB / 433.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.2623, allocations: 3.938 kB / 433.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.2625, allocations: 3.938 kB / 433.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.2627, allocations: 43.89 kB / 433.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.97e-05/0.2628, allocations: 35.86 kB / 433.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.2629, allocations: 19.97 kB / 433.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.108e-05/0.2629, allocations: 7.938 kB / 433.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.65e-05/0.263, allocations: 15.92 kB / 433.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.263, allocations: 0 / 433.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.263, allocations: 4 kB / 433.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.263, allocations: 11.94 kB / 433.8 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.2631, allocations: 27.8 kB / 433.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.2632, allocations: 47.47 kB / 433.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2632, allocations: 4 kB / 433.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2632, allocations: 0 / 433.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2632, allocations: 3.938 kB / 433.9 MB, free: 5.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004497/0.2637, allocations: 295.2 kB / 434.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2637, allocations: 12.03 kB / 434.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.2637, allocations: 34.75 kB / 434.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.2638, allocations: 8.891 kB / 434.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.264, allocations: 134.4 kB / 434.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.264, allocations: 8.375 kB / 434.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.264, allocations: 4.375 kB / 434.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.2643, allocations: 117.5 kB / 434.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2643, allocations: 3.938 kB / 434.5 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.2643, allocations: 4 kB / 434.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2643, allocations: 3.984 kB / 434.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/0.2644, allocations: 19.98 kB / 434.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.2648, allocations: 236.8 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.2649, allocations: 65.12 kB / 434.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/0.265, allocations: 21.78 kB / 434.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.265, allocations: 4 kB / 434.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.265, allocations: 42.48 kB / 434.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2651, allocations: 0 / 434.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002371/0.2653, allocations: 81.66 kB / 434.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.2654, allocations: 77.11 kB / 435 MB, free: 3.754 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.2655, allocations: 134.1 kB / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2655, allocations: 25.7 kB / 435.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.2656, allocations: 84.14 kB / 435.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.2656, allocations: 7.938 kB / 435.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.2656, allocations: 21.72 kB / 435.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2657, allocations: 310.9 kB / 435.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.063e-05/0.2658, allocations: 11.98 kB / 435.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.2658, allocations: 31.44 kB / 435.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.718e-05/0.2659, allocations: 47.36 kB / 435.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.2659, allocations: 3.938 kB / 435.7 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001188/0.266, allocations: 65.61 kB / 435.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.266, allocations: 4 kB / 435.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2661, allocations: 0 / 435.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2661, allocations: 7.938 kB / 435.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.666e-05/0.2661, allocations: 15.98 kB / 435.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2661, allocations: 4.125 kB / 435.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.2662, allocations: 11.95 kB / 435.8 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.2662, allocations: 0 / 435.8 MB, free: 2.914 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 9.287e-05/0.2663, allocations: 121.7 kB / 435.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.2663, allocations: 45.69 kB / 436 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.2664, allocations: 12.28 kB / 436 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2664, allocations: 3.938 kB / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2664, allocations: 0 / 436 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2664, allocations: 7.984 kB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2666, allocations: 144.6 kB / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2666, allocations: 0 / 436.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.2666, allocations: 15.92 kB / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2666, allocations: 0 / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2666, allocations: 0 / 436.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.2666, allocations: 4 kB / 436.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2666, allocations: 0 / 436.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.2668, allocations: 168.7 kB / 436.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.2668, allocations: 19.92 kB / 436.3 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2668, allocations: 3.984 kB / 436.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.2669, allocations: 11.94 kB / 436.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.2669, allocations: 0 / 436.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2669, allocations: 0 / 436.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.633e-05/0.267, allocations: 110.3 kB / 436.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.267, allocations: 0 / 436.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.2672, allocations: 4 kB / 436.5 MB, free: 2.172 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0004774/0.2677, allocations: 0.6937 MB / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.2678, allocations: 36.11 kB / 437.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2678, allocations: 4.062 kB / 437.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.2679, allocations: 7.984 kB / 437.2 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.2682, allocations: 23.95 kB / 437.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.2695, allocations: 1.322 MB / 438.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2698, allocations: 0.6885 MB / 439.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.478e-05/0.2698, allocations: 0 / 439.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.2699, allocations: 15.44 kB / 439.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2699, allocations: 0 / 439.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.2946, allocations: 1.493 MB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.163, allocations: 7.453 kB / 440.7 MB, free: 13.81 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_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_Sample2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.624239698052406] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.233285624999553 8.26254634 7.994033955 Calling exit ...