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.Sample3.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.001398/0.001398, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001658/0.001658, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.575/1.575, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",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.003317/0.003317, allocations: 68.77 kB / 378.6 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.35, allocations: 53.36 MB / 431.9 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.005316/0.3553, allocations: 1.731 MB / 433.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007383/0.356, allocations: 163.4 kB / 433.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3562, allocations: 3.938 kB / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.924e-05/0.3562, allocations: 7.922 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.3564, allocations: 15.88 kB / 433.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.3568, allocations: 43.83 kB / 433.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.357, allocations: 59.78 kB / 433.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3572, allocations: 26.08 kB / 434 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.3572, allocations: 23.92 kB / 434 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.3573, allocations: 27.86 kB / 434 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.3573, allocations: 4 kB / 434 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.727e-05/0.3574, allocations: 4 kB / 434 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.3574, allocations: 19.92 kB / 434 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.3575, allocations: 35.73 kB / 434.1 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3577, allocations: 63.67 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3577, allocations: 0 / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3577, allocations: 0 / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.3577, allocations: 3.938 kB / 434.1 MB, free: 4.688 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007435/0.3584, allocations: 333.7 kB / 434.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.3585, allocations: 8.031 kB / 434.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.3586, allocations: 38.75 kB / 434.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.3586, allocations: 8.891 kB / 434.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.359, allocations: 138.4 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.359, allocations: 8.375 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.359, allocations: 4.375 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.3596, allocations: 165.2 kB / 434.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3596, allocations: 3.938 kB / 434.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.3596, allocations: 4 kB / 434.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.3596, allocations: 4 kB / 434.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3598, allocations: 39.92 kB / 434.9 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006318/0.3605, allocations: 336.9 kB / 435.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.3609, allocations: 111.8 kB / 435.3 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.361, allocations: 50.69 kB / 435.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.701e-05/0.3611, allocations: 8.141 kB / 435.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.3611, allocations: 30.56 kB / 435.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.3611, allocations: 4 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005863/0.3617, allocations: 121.5 kB / 435.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.3618, allocations: 114.7 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.362, allocations: 137.8 kB / 435.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3621, allocations: 29.7 kB / 435.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.3621, allocations: 88.14 kB / 435.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.3622, allocations: 8.141 kB / 435.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.375e-05/0.3623, allocations: 33.7 kB / 435.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3625, allocations: 322.8 kB / 436.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.3625, allocations: 11.98 kB / 436.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.3627, allocations: 71.66 kB / 436.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.363, allocations: 91.66 kB / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.363, allocations: 0 / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003423/0.3633, allocations: 113.4 kB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3633, allocations: 4.281 kB / 436.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3633, allocations: 8 kB / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3634, allocations: 4 kB / 436.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3635, allocations: 24.17 kB / 436.6 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.3635, allocations: 4.312 kB / 436.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.864e-05/0.3636, allocations: 11.89 kB / 436.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3636, allocations: 4 kB / 436.6 MB, free: 1.934 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001812/0.3638, allocations: 137.6 kB / 436.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.364, allocations: 77.62 kB / 436.8 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.3641, allocations: 16.7 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3641, allocations: 4 kB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3641, allocations: 0 / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3641, allocations: 0 / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.3645, allocations: 160.6 kB / 437 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3645, allocations: 0 / 437 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.3647, allocations: 23.92 kB / 437 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.3647, allocations: 3.984 kB / 437 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.3647, allocations: 4 kB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3647, allocations: 0 / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3647, allocations: 0 / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.3653, allocations: 320.2 kB / 437.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.3654, allocations: 27.88 kB / 437.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.3654, allocations: 4 kB / 437.4 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.3656, allocations: 4 kB / 437.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.3657, allocations: 11.94 kB / 437.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3657, allocations: 0 / 437.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.3658, allocations: 110.1 kB / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3658, allocations: 0 / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.3663, allocations: 12 kB / 437.5 MB, free: 0.9531 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 (10): * Single equations (assignments): 10 * 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.001023/0.3673, allocations: 0.8421 MB / 438.3 MB, free: 80 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3676, allocations: 56.34 kB / 438.4 MB, free: 24 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3676, allocations: 4.25 kB / 438.4 MB, free: 20 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.496e-05/0.3677, allocations: 8 kB / 438.4 MB, free: 12 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.3685, allocations: 51.81 kB / 438.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.3711, allocations: 1.581 MB / 440 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.3716, allocations: 0.7002 MB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.874e-05/0.3716, allocations: 12.59 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.3717, allocations: 19.44 kB / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3717, allocations: 0 / 440.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4053, allocations: 1.919 MB / 442.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/8.898, allocations: 7.453 kB / 442.7 MB, free: 11.65 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.442702058702707] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 8.971286001149565 8.987967218 8.626714823 Calling exit ...