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.ShiftSample.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.002213/0.002213, allocations: 106.5 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.003309/0.003309, allocations: 213.2 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.644/1.644, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",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.002106/0.002106, allocations: 68.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3199, allocations: 53.38 MB / 431.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.003087/0.323, allocations: 1.608 MB / 433.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3242, allocations: 0.557 MB / 434.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3243, allocations: 3.938 kB / 434.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.3243, allocations: 11.88 kB / 434.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.3245, allocations: 23.86 kB / 434.1 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.3248, allocations: 55.81 kB / 434.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.325, allocations: 47.86 kB / 434.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.3251, allocations: 12.17 kB / 434.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3253, allocations: 35.78 kB / 434.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.3254, allocations: 19.92 kB / 434.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.3254, allocations: 0 / 434.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.3254, allocations: 8 kB / 434.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.3255, allocations: 15.92 kB / 434.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.3256, allocations: 27.75 kB / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3258, allocations: 64.58 kB / 434.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3258, allocations: 4 kB / 434.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3258, allocations: 3.938 kB / 434.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3258, allocations: 0 / 434.4 MB, free: 4.512 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.0005982/0.3264, allocations: 313.8 kB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.3264, allocations: 8.031 kB / 434.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.3265, allocations: 34.73 kB / 434.8 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.3266, allocations: 20.89 kB / 434.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.3269, allocations: 142.9 kB / 434.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3269, allocations: 8.125 kB / 434.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.3269, allocations: 0 / 434.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.3272, allocations: 121.9 kB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3272, allocations: 0 / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3272, allocations: 0 / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3272, allocations: 4 kB / 435.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3273, allocations: 27.91 kB / 435.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.3277, allocations: 241.7 kB / 435.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3278, allocations: 67.78 kB / 435.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.054e-05/0.3279, allocations: 30.58 kB / 435.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3279, allocations: 4 kB / 435.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.328, allocations: 46.53 kB / 435.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.328, allocations: 3.938 kB / 435.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002834/0.3283, allocations: 85.52 kB / 435.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/0.3284, allocations: 107.1 kB / 435.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3285, allocations: 159.6 kB / 435.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3285, allocations: 25.7 kB / 435.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.3286, allocations: 88.14 kB / 435.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.3286, allocations: 4 kB / 435.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3286, allocations: 21.66 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3288, allocations: 318.8 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.3288, allocations: 7.984 kB / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.3289, allocations: 35.44 kB / 436.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.329, allocations: 47.36 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.329, allocations: 0 / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001414/0.3291, allocations: 73.61 kB / 436.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3292, allocations: 4 kB / 436.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3292, allocations: 0 / 436.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3292, allocations: 4 kB / 436.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.3293, allocations: 11.92 kB / 436.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3293, allocations: 7.938 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.906e-05/0.3293, allocations: 0 / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3293, allocations: 7.984 kB / 436.5 MB, free: 2.199 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.0001004/0.3294, allocations: 122 kB / 436.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/0.3295, allocations: 61.62 kB / 436.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.3295, allocations: 19.89 kB / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3295, allocations: 0 / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.3296, allocations: 3.938 kB / 436.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3296, allocations: 0 / 436.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.3298, allocations: 144.7 kB / 436.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3298, allocations: 4 kB / 436.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.3299, allocations: 8.047 kB / 436.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3299, allocations: 8 kB / 436.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.3299, allocations: 4 kB / 436.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3299, allocations: 0 / 436.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3299, allocations: 3.938 kB / 436.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.3301, allocations: 177.1 kB / 437 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.3302, allocations: 23.94 kB / 437 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3302, allocations: 7.938 kB / 437 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.3303, allocations: 0 / 437 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.3303, allocations: 7.922 kB / 437 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3303, allocations: 4 kB / 437 MB, free: 1.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.653e-05/0.3304, allocations: 114.3 kB / 437.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3304, allocations: 0 / 437.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.3306, allocations: 4 kB / 437.2 MB, free: 1.414 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.000621/0.3312, allocations: 0.7102 MB / 437.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.3314, allocations: 36.11 kB / 437.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3314, allocations: 0 / 437.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.3314, allocations: 7.984 kB / 437.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.3318, allocations: 34.7 kB / 438 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.3335, allocations: 1.402 MB / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.3339, allocations: 0.6885 MB / 440 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.263e-05/0.3339, allocations: 11.98 kB / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.334, allocations: 19.44 kB / 440.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.334, allocations: 0 / 440.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.3621, allocations: 1.757 MB / 441.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.584/8.946, allocations: 10.62 kB / 441.8 MB, free: 12.67 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79319e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.515495632309467] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y'] 9.016276962589473 9.030642565 8.701481068 Calling exit ...