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.0013/0.0013, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001459/0.001459, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.512/1.512, allocations: 230.5 MB / 254.7 MB, free: 15 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.001931/0.001931, allocations: 63.89 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1062, allocations: 53.32 MB / 426.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003453/0.1096, allocations: 1.599 MB / 428.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1107, allocations: 0.5766 MB / 429.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.1108, allocations: 11.88 kB / 429.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.879e-05/0.1109, allocations: 3.938 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.111, allocations: 11.86 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1113, allocations: 63.81 kB / 429.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1115, allocations: 51.78 kB / 429.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.1116, allocations: 16.17 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1117, allocations: 23.86 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.1117, allocations: 23.86 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1118, allocations: 8 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.031e-05/0.1118, allocations: 7.984 kB / 429.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.1119, allocations: 11.94 kB / 429.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.1119, allocations: 27.8 kB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1121, allocations: 59.69 kB / 429.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1121, allocations: 4 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1121, allocations: 3.984 kB / 429.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1121, allocations: 0 / 429.4 MB, free: 2.328 MB / 350.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.0005989/0.1127, allocations: 375.1 kB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1127, allocations: 12.03 kB / 429.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.1128, allocations: 34.75 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.1129, allocations: 20.88 kB / 429.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1133, allocations: 212.6 kB / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1133, allocations: 12.12 kB / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1134, allocations: 0 / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1137, allocations: 113.9 kB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1137, allocations: 0 / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1137, allocations: 4 kB / 430.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1137, allocations: 4 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.1138, allocations: 19.92 kB / 430.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1142, allocations: 274.6 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1144, allocations: 67.78 kB / 430.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.1144, allocations: 34.62 kB / 430.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1144, allocations: 0 / 430.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.1145, allocations: 42.5 kB / 430.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1145, allocations: 0 / 430.6 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002969/0.1148, allocations: 85.86 kB / 430.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.1149, allocations: 106.8 kB / 430.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.115, allocations: 150.5 kB / 430.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.115, allocations: 25.7 kB / 431 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.1151, allocations: 88.14 kB / 431 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.1151, allocations: 3.984 kB / 431 MB, free: 420 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.1151, allocations: 21.67 kB / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1153, allocations: 326.8 kB / 431.4 MB, free: 56 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-05/0.1153, allocations: 11.92 kB / 431.4 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2195/0.3348, allocations: 35.98 kB / 431.4 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3349, allocations: 37.2 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3349, allocations: 0.5 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001607/0.3351, allocations: 74.27 kB / 431.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3351, allocations: 5.594 kB / 431.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3351, allocations: 6.406 kB / 431.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3351, allocations: 2.531 kB / 431.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-05/0.3352, allocations: 8.141 kB / 431.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3352, allocations: 10.42 kB / 431.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.3353, allocations: 1.875 kB / 431.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3353, allocations: 3.312 kB / 431.6 MB, free: 10.94 MB / 350.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 7.93e-05/0.3354, allocations: 122.4 kB / 431.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.3355, allocations: 54.91 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.771e-05/0.3355, allocations: 13.59 kB / 431.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3355, allocations: 2.625 kB / 431.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3355, allocations: 5.5 kB / 431.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3355, allocations: 1.688 kB / 431.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3357, allocations: 169.5 kB / 431.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3357, allocations: 2.156 kB / 431.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.3357, allocations: 14.45 kB / 432 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3357, allocations: 1.25 kB / 432 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.3357, allocations: 2.672 kB / 432 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3357, allocations: 2.094 kB / 432 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3357, allocations: 2.344 kB / 432 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3359, allocations: 184.8 kB / 432.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.3359, allocations: 93.2 kB / 432.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.336, allocations: 1.484 kB / 432.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.826e-05/0.3361, allocations: 2.812 kB / 432.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3361, allocations: 2.516 kB / 432.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3361, allocations: 3.125 kB / 432.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.3362, allocations: 116 kB / 432.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3362, allocations: 3.062 kB / 432.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.3364, allocations: 8.75 kB / 432.4 MB, free: 10.27 MB / 350.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.0003252/0.3368, allocations: 0.7145 MB / 433.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.3369, allocations: 29.67 kB / 433.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3369, allocations: 0 / 433.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.337, allocations: 14.41 kB / 433.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3373, allocations: 32.86 kB / 433.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.3383, allocations: 1.403 MB / 434.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.3384, allocations: 0.6941 MB / 435.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.163e-05/0.3384, allocations: 5.797 kB / 435.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.3385, allocations: 20.95 kB / 435.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3385, allocations: 0 / 435.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.3634, allocations: 1.724 MB / 437 MB, free: 7.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.404, allocations: 8.938 kB / 437 MB, free: 7.328 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.820616629905999] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.476063339039683 8.494662127 8.378694104 Calling exit ...