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.TimeBasedRamp.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.001421/0.001421, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001469/0.001469, allocations: 215.5 kB / 23.48 MB, free: 5.227 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.374/1.374, allocations: 230.4 MB / 257 MB, free: 8.258 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.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",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.001954/0.001954, allocations: 67.89 kB / 377.1 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2685, allocations: 53.31 MB / 430.4 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002871/0.2714, allocations: 1.506 MB / 431.9 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.2722, allocations: 454.8 kB / 432.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.85e-05/0.2723, allocations: 0 / 432.3 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.2723, allocations: 3.938 kB / 432.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.2724, allocations: 3.938 kB / 432.3 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.2727, allocations: 19.98 kB / 432.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2728, allocations: 51.78 kB / 432.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2729, allocations: 11.98 kB / 432.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.2729, allocations: 15.92 kB / 432.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.273, allocations: 11.94 kB / 432.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.273, allocations: 4 kB / 432.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.273, allocations: 4 kB / 432.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.273, allocations: 7.984 kB / 432.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.2731, allocations: 15.88 kB / 432.5 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.2732, allocations: 40.8 kB / 432.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2732, allocations: 0 / 432.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2732, allocations: 0 / 432.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2732, allocations: 4 kB / 432.5 MB, free: 5.086 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.0005077/0.2737, allocations: 350.8 kB / 432.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.2737, allocations: 8.031 kB / 432.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.2738, allocations: 42.67 kB / 432.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.2738, allocations: 8.891 kB / 432.9 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.2741, allocations: 172.3 kB / 433.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2741, allocations: 8.375 kB / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.2741, allocations: 4.375 kB / 433.1 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.2745, allocations: 139.4 kB / 433.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2745, allocations: 3.984 kB / 433.3 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2746, allocations: 7.938 kB / 433.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2746, allocations: 4 kB / 433.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.2747, allocations: 35.95 kB / 433.3 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.2749, allocations: 153.7 kB / 433.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.2751, allocations: 82.53 kB / 433.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.2752, allocations: 28.89 kB / 433.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.2752, allocations: 3.984 kB / 433.6 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2753, allocations: 38.5 kB / 433.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2753, allocations: 0 / 433.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003488/0.2756, allocations: 97.56 kB / 433.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.2757, allocations: 63.41 kB / 433.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.2758, allocations: 109.8 kB / 433.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2758, allocations: 25.7 kB / 433.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.2758, allocations: 80.14 kB / 434 MB, free: 3.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.2758, allocations: 8 kB / 434 MB, free: 3.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.2759, allocations: 9.719 kB / 434 MB, free: 3.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.276, allocations: 322.8 kB / 434.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.276, allocations: 0 / 434.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.276, allocations: 35.38 kB / 434.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.858e-05/0.2761, allocations: 31.44 kB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2761, allocations: 0 / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.412e-05/0.2762, allocations: 69.45 kB / 434.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2762, allocations: 4 kB / 434.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2762, allocations: 4 kB / 434.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2762, allocations: 0 / 434.4 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.48e-05/0.2763, allocations: 15.98 kB / 434.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2763, allocations: 0 / 434.5 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.2763, allocations: 3.938 kB / 434.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2763, allocations: 4 kB / 434.5 MB, free: 2.895 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.415e-05/0.2764, allocations: 113.9 kB / 434.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.2766, allocations: 85.48 kB / 434.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.2766, allocations: 7.906 kB / 434.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2766, allocations: 4 kB / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2766, allocations: 0 / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2766, allocations: 0 / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.2767, allocations: 157.7 kB / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2767, allocations: 0 / 434.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.2768, allocations: 19.92 kB / 434.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2768, allocations: 336 / 434.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.2768, allocations: 4 kB / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2768, allocations: 0 / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2768, allocations: 0 / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.2771, allocations: 109 kB / 435 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.2771, allocations: 85 kB / 435 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2771, allocations: 8 kB / 435 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.627e-05/0.2772, allocations: 7.984 kB / 435.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-06/0.2772, allocations: 0 / 435.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.2772, allocations: 3.938 kB / 435.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.2772, allocations: 83.28 kB / 435.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2772, allocations: 0 / 435.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00018/0.2774, allocations: 4 kB / 435.1 MB, free: 2.109 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: 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.0005176/0.2779, allocations: 0.6397 MB / 435.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.2781, allocations: 35.91 kB / 435.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/0.2781, allocations: 0 / 435.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-07/0.2781, allocations: 0 / 435.8 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.0003135/0.2784, allocations: 36.17 kB / 435.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.2794, allocations: 1.17 MB / 437 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2797, allocations: 0.6885 MB / 437.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.393e-05/0.2798, allocations: 0 / 437.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.2798, allocations: 15.44 kB / 437.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2798, allocations: 0 / 437.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.3031, allocations: 1.347 MB / 439.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.167, allocations: 8.062 kB / 439.1 MB, free: 14.1 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.363148225937039] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.2356230430305 8.263059314 7.986066452 Calling exit ...