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.Sample1.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.001586/0.001586, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002379/0.002379, allocations: 219.6 kB / 23 MB, free: 5.609 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.556/1.556, allocations: 230.5 MB / 256.5 MB, free: 8.426 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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.002126/0.002126, allocations: 64.14 kB / 376.2 MB, free: 4.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3078, allocations: 53.31 MB / 429.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003713/0.3116, allocations: 1.607 MB / 431.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.3129, allocations: 0.5376 MB / 431.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.313, allocations: 0 / 431.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.661e-05/0.3131, allocations: 7.922 kB / 431.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.3132, allocations: 19.8 kB / 431.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.3137, allocations: 55.81 kB / 431.8 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3138, allocations: 39.92 kB / 431.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3139, allocations: 11.98 kB / 431.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.3141, allocations: 35.84 kB / 431.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.3142, allocations: 19.88 kB / 431.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3142, allocations: 0 / 431.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.273e-05/0.3142, allocations: 11.98 kB / 431.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.3143, allocations: 11.94 kB / 431.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.3144, allocations: 27.8 kB / 431.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.3145, allocations: 52.17 kB / 432 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3145, allocations: 7.922 kB / 432 MB, free: 4.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3145, allocations: 0 / 432 MB, free: 4.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.3145, allocations: 0 / 432 MB, free: 4.977 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.0006752/0.3152, allocations: 383.1 kB / 432.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.3153, allocations: 8.031 kB / 432.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/0.3153, allocations: 38.69 kB / 432.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.3155, allocations: 20.83 kB / 432.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.3159, allocations: 196.2 kB / 432.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3159, allocations: 12.38 kB / 432.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.316, allocations: 384 / 432.6 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.3163, allocations: 125.1 kB / 432.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3163, allocations: 0 / 432.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3163, allocations: 3.984 kB / 432.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3163, allocations: 3.938 kB / 432.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.3164, allocations: 23.98 kB / 432.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.3169, allocations: 265.7 kB / 433 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.3172, allocations: 138.2 kB / 433.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.3173, allocations: 33.77 kB / 433.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3173, allocations: 0 / 433.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3173, allocations: 30.56 kB / 433.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3173, allocations: 0 / 433.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003029/0.3176, allocations: 81.56 kB / 433.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3177, allocations: 93.16 kB / 433.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3179, allocations: 134.2 kB / 433.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.318, allocations: 25.7 kB / 433.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.318, allocations: 92.08 kB / 433.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.318, allocations: 7.938 kB / 433.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.3181, allocations: 17.72 kB / 433.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.3183, allocations: 322.8 kB / 434 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.3183, allocations: 7.984 kB / 434 MB, free: 2.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.869e-05/0.3184, allocations: 39.42 kB / 434 MB, free: 2.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.3185, allocations: 43.36 kB / 434.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3185, allocations: 0 / 434.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001414/0.3186, allocations: 73.58 kB / 434.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.3187, allocations: 11.98 kB / 434.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3187, allocations: 0 / 434.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3187, allocations: 0 / 434.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3188, allocations: 11.94 kB / 434.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.3188, allocations: 0 / 434.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.3188, allocations: 4 kB / 434.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3189, allocations: 8.109 kB / 434.2 MB, free: 2.457 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 0.0001286/0.319, allocations: 121.8 kB / 434.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.3191, allocations: 53.91 kB / 434.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.3191, allocations: 12.25 kB / 434.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3191, allocations: 0 / 434.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3191, allocations: 0 / 434.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3191, allocations: 0 / 434.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.3193, allocations: 173.6 kB / 434.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3193, allocations: 3.984 kB / 434.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.3194, allocations: 11.94 kB / 434.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3194, allocations: 4 kB / 434.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3194, allocations: 0 / 434.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3194, allocations: 7.938 kB / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3194, allocations: 0 / 434.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.3196, allocations: 168.3 kB / 434.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.3197, allocations: 93.05 kB / 434.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.3198, allocations: 8 kB / 434.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.3199, allocations: 7.984 kB / 434.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.3199, allocations: 0 / 434.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.3199, allocations: 0 / 434.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.943e-05/0.32, allocations: 118 kB / 434.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.32, allocations: 3.938 kB / 435 MB, free: 1.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3202, allocations: 4 kB / 435 MB, free: 1.57 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.0007118/0.3209, allocations: 0.7092 MB / 435.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.3211, allocations: 31.92 kB / 435.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3211, allocations: 0 / 435.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.3211, allocations: 8.234 kB / 435.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3215, allocations: 24.08 kB / 435.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.3233, allocations: 1.38 MB / 437.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.3237, allocations: 0.6955 MB / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.281e-05/0.3237, allocations: 0 / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.3238, allocations: 15.44 kB / 437.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3238, allocations: 0 / 437.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.3518, allocations: 1.575 MB / 439.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/8.723, allocations: 3.266 kB / 439.4 MB, free: 13.06 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.192099979001796] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.794946347014047 8.82354211 8.503465935 Calling exit ...