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.TickBasedRamp.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.001813/0.001813, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00231/0.00231, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.TickBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",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.002082/0.002082, allocations: 64.77 kB / 378.6 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2573, allocations: 53.38 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003012/0.2603, allocations: 1.491 MB / 433.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002358/0.2605, allocations: 31.92 kB / 433.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.2606, allocations: 0 / 433.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.2606, allocations: 3.938 kB / 433.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.029e-05/0.2607, allocations: 7.922 kB / 433.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.261, allocations: 23.97 kB / 433.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2611, allocations: 35.92 kB / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2612, allocations: 15.92 kB / 433.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.2613, allocations: 15.98 kB / 433.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.2613, allocations: 15.92 kB / 433.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.2613, allocations: 4 kB / 433.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.2613, allocations: 4 kB / 433.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.2614, allocations: 11.92 kB / 433.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.2614, allocations: 15.94 kB / 433.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2615, allocations: 47.41 kB / 433.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2615, allocations: 0 / 433.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2615, allocations: 0 / 433.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.2616, allocations: 0 / 433.7 MB, free: 5.195 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000581/0.2621, allocations: 287.4 kB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2622, allocations: 8.031 kB / 433.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.2622, allocations: 30.75 kB / 434 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.2622, allocations: 8.891 kB / 434 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.2625, allocations: 130.4 kB / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.2625, allocations: 384 / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.2625, allocations: 384 / 434.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.2631, allocations: 167.7 kB / 434.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2631, allocations: 7.875 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2631, allocations: 0 / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2631, allocations: 4 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.2634, allocations: 43.94 kB / 434.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.2635, allocations: 132.7 kB / 434.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.2638, allocations: 82.44 kB / 434.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.264, allocations: 44.91 kB / 434.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.264, allocations: 0 / 434.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.264, allocations: 34.5 kB / 434.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.264, allocations: 0 / 434.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004785/0.2645, allocations: 117.7 kB / 434.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.2645, allocations: 63.33 kB / 434.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2647, allocations: 109.8 kB / 434.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.2647, allocations: 25.7 kB / 434.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.2647, allocations: 88.14 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.2647, allocations: 3.953 kB / 435 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.2648, allocations: 13.72 kB / 435 MB, free: 3.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2649, allocations: 322.8 kB / 435.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.2649, allocations: 0 / 435.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.265, allocations: 31.44 kB / 435.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.608e-05/0.265, allocations: 43.36 kB / 435.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.265, allocations: 0 / 435.4 MB, free: 3.215 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.563e-05/0.2651, allocations: 53.64 kB / 435.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2651, allocations: 11.94 kB / 435.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2651, allocations: 4.125 kB / 435.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2651, allocations: 3.984 kB / 435.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.2652, allocations: 11.94 kB / 435.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2652, allocations: 4 kB / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.2652, allocations: 0 / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2652, allocations: 4 kB / 435.5 MB, free: 3.117 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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 9.56e-05/0.2653, allocations: 109.8 kB / 435.6 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.2656, allocations: 93.52 kB / 435.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.2657, allocations: 12 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2657, allocations: 4 kB / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2657, allocations: 0 / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2657, allocations: 0 / 435.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.2658, allocations: 128.7 kB / 435.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2658, allocations: 0 / 435.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.232e-05/0.2659, allocations: 23.86 kB / 435.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2659, allocations: 4.062 kB / 435.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2659, allocations: 7.984 kB / 435.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2659, allocations: 0 / 435.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.2659, allocations: 7.938 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.2662, allocations: 113 kB / 436 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.2662, allocations: 7.984 kB / 436 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.2662, allocations: 3.938 kB / 436 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.2663, allocations: 11.98 kB / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-06/0.2663, allocations: 0 / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.2663, allocations: 4 kB / 436 MB, free: 2.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.361e-05/0.2663, allocations: 79.28 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2663, allocations: 0 / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000186/0.2665, allocations: 12 kB / 436.1 MB, free: 2.422 MB / 334.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 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.000788/0.2673, allocations: 0.6888 MB / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.2675, allocations: 39.91 kB / 436.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2675, allocations: 320 / 436.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2675, allocations: 4 kB / 436.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.2679, allocations: 45.48 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.269, allocations: 1.192 MB / 438.1 MB, free: 340 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.2693, allocations: 0.6848 MB / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.2694, allocations: 0 / 438.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.2694, allocations: 15.44 kB / 438.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2694, allocations: 0 / 438.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.2931, allocations: 1.522 MB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.263, allocations: 11.47 kB / 440.3 MB, free: 14.17 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.663207976613194] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.33324104687199 8.355758585 8.089840986 Calling exit ...