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.SuperSample.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.001869/0.001869, allocations: 106.5 kB / 21.22 MB, free: 0.5117 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.002338/0.002338, allocations: 213.9 kB / 24.54 MB, free: 3.875 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.609/1.609, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",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.002059/0.002059, allocations: 68.77 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 53.36 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003862/0.3372, allocations: 1.622 MB / 433.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3387, allocations: 0.5764 MB / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3388, allocations: 3.938 kB / 434.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.174e-05/0.3389, allocations: 3.938 kB / 434.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.3391, allocations: 19.84 kB / 434.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.3395, allocations: 63.77 kB / 434.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3397, allocations: 47.84 kB / 434.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.3398, allocations: 16.16 kB / 434.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.34, allocations: 23.88 kB / 434.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.34, allocations: 19.92 kB / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.3401, allocations: 0 / 434.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.918e-05/0.3401, allocations: 15.98 kB / 434.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.3402, allocations: 15.92 kB / 434.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.3402, allocations: 35.67 kB / 434.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.3406, allocations: 52.59 kB / 434.4 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3406, allocations: 4 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3406, allocations: 7.938 kB / 434.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.3406, allocations: 0 / 434.4 MB, free: 4.348 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.0006954/0.3413, allocations: 305.9 kB / 434.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.3413, allocations: 12.03 kB / 434.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.3414, allocations: 34.75 kB / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.3416, allocations: 20.88 kB / 434.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.342, allocations: 148.2 kB / 435 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.342, allocations: 8.125 kB / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.342, allocations: 0 / 435 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.3424, allocations: 113.9 kB / 435.1 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3424, allocations: 4 kB / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3424, allocations: 0 / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3424, allocations: 0 / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.976e-05/0.3425, allocations: 27.92 kB / 435.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.343, allocations: 245.6 kB / 435.3 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3431, allocations: 67.84 kB / 435.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.591e-05/0.3432, allocations: 34.56 kB / 435.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3432, allocations: 0 / 435.4 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3432, allocations: 38.56 kB / 435.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3432, allocations: 0 / 435.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003157/0.3436, allocations: 93.5 kB / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.3436, allocations: 106.8 kB / 435.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.3438, allocations: 152.3 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3438, allocations: 33.64 kB / 435.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.3439, allocations: 96.12 kB / 436 MB, free: 2.613 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.3439, allocations: 0 / 436 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.344, allocations: 21.67 kB / 436 MB, free: 2.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3441, allocations: 322.8 kB / 436.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.3442, allocations: 4 kB / 436.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.3442, allocations: 39.42 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.991e-05/0.3443, allocations: 47.36 kB / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3443, allocations: 0 / 436.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.3445, allocations: 69.61 kB / 436.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3445, allocations: 8 kB / 436.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3445, allocations: 0 / 436.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3445, allocations: 3.938 kB / 436.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3447, allocations: 8 kB / 436.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3447, allocations: 7.938 kB / 436.5 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.3447, allocations: 7.984 kB / 436.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3447, allocations: 7.938 kB / 436.5 MB, free: 2.031 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.0001434/0.3449, allocations: 118 kB / 436.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.345, allocations: 61.53 kB / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.345, allocations: 7.969 kB / 436.7 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.345, allocations: 4 kB / 436.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001168/0.3451, allocations: 3.938 kB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3451, allocations: 0 / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.3453, allocations: 148.7 kB / 436.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3453, allocations: 0 / 436.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.3454, allocations: 8 kB / 436.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3454, allocations: 4.062 kB / 436.8 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3454, allocations: 4 kB / 436.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3454, allocations: 3.984 kB / 436.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.3454, allocations: 3.938 kB / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3457, allocations: 181.1 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.3457, allocations: 11.95 kB / 437 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3457, allocations: 3.984 kB / 437 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.3458, allocations: 8 kB / 437.1 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.3458, allocations: 3.938 kB / 437.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.3458, allocations: 4 kB / 437.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.3461, allocations: 114 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3461, allocations: 0 / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.3463, allocations: 8 kB / 437.2 MB, free: 1.262 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.0007861/0.3471, allocations: 0.7063 MB / 437.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3473, allocations: 39.91 kB / 437.9 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3473, allocations: 4.25 kB / 437.9 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.764e-05/0.3473, allocations: 4 kB / 437.9 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3478, allocations: 27.89 kB / 438 MB, free: 460 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3497, allocations: 1.41 MB / 439.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.3501, allocations: 0.6924 MB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.3501, allocations: 12.36 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.98e-05/0.3502, allocations: 19.42 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3502, allocations: 3.938 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.3807, allocations: 1.707 MB / 441.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.794/9.174, allocations: 7.375 kB / 441.8 MB, free: 12.56 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.717645718250424] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 9.246433319989592 9.263930695 8.919495758 Calling exit ...