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.001773/0.001773, 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.002292/0.002292, allocations: 212.3 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.694/1.694, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.002031/0.002031, allocations: 64.77 kB / 378.6 MB, free: 3.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3689, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003643/0.3726, allocations: 1.613 MB / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3736, allocations: 0.5336 MB / 434.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.57e-05/0.3737, allocations: 11.88 kB / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.185e-05/0.3738, allocations: 3.938 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3739, allocations: 19.92 kB / 434.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.3742, allocations: 51.81 kB / 434.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3744, allocations: 47.84 kB / 434.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3745, allocations: 10.11 kB / 434.2 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3746, allocations: 23.92 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.3747, allocations: 27.84 kB / 434.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3747, allocations: 4 kB / 434.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.573e-05/0.3747, allocations: 8 kB / 434.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.3748, allocations: 15.92 kB / 434.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.3748, allocations: 23.81 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.375, allocations: 67.61 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.375, allocations: 3.938 kB / 434.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.375, allocations: 0 / 434.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.375, allocations: 4 kB / 434.4 MB, free: 4.434 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.0005257/0.3755, allocations: 298 kB / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.3756, allocations: 12.03 kB / 434.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.931e-05/0.3756, allocations: 34.75 kB / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3758, allocations: 20.83 kB / 434.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3761, allocations: 138.4 kB / 434.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3761, allocations: 8.312 kB / 434.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3761, allocations: 4.375 kB / 434.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.3764, allocations: 125.1 kB / 435 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3764, allocations: 0 / 435 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3764, allocations: 4 kB / 435 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3764, allocations: 0 / 435 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.88e-05/0.3765, allocations: 19.98 kB / 435 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.3768, allocations: 244.7 kB / 435.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.377, allocations: 57.2 kB / 435.3 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.3771, allocations: 29.7 kB / 435.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3771, allocations: 4 kB / 435.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3772, allocations: 34.56 kB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3772, allocations: 4 kB / 435.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002706/0.3774, allocations: 77.56 kB / 435.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/0.3775, allocations: 77.11 kB / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3777, allocations: 150.1 kB / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3777, allocations: 25.7 kB / 435.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.3777, allocations: 84.14 kB / 435.8 MB, free: 2.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3778, allocations: 11.94 kB / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3778, allocations: 21.84 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.378, allocations: 314.8 kB / 436.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.3781, allocations: 15.98 kB / 436.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.577e-05/0.3781, allocations: 31.59 kB / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3782, allocations: 55.36 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3782, allocations: 0 / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001366/0.3783, allocations: 69.52 kB / 436.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3784, allocations: 4 kB / 436.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3784, allocations: 128 / 436.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3784, allocations: 11.94 kB / 436.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.3785, allocations: 11.98 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.3785, allocations: 0 / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.3785, allocations: 4 kB / 436.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3785, allocations: 4 kB / 436.3 MB, free: 2.215 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.0001009/0.3786, allocations: 129.7 kB / 436.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.3787, allocations: 49.58 kB / 436.5 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.3787, allocations: 8.344 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3787, allocations: 8 kB / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3787, allocations: 0 / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3787, allocations: 0 / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3789, allocations: 144.7 kB / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3789, allocations: 0 / 436.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.379, allocations: 11.98 kB / 436.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.379, allocations: 4 kB / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.379, allocations: 0 / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.379, allocations: 0 / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.379, allocations: 0 / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.3792, allocations: 176.2 kB / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.3793, allocations: 19.94 kB / 436.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3793, allocations: 0 / 436.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.3793, allocations: 8 kB / 436.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.3794, allocations: 3.984 kB / 436.9 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.3794, allocations: 3.938 kB / 436.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3795, allocations: 109.5 kB / 437 MB, free: 1.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3795, allocations: 4 kB / 437 MB, free: 1.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.3797, allocations: 8 kB / 437 MB, free: 1.457 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.0004795/0.3802, allocations: 0.7053 MB / 437.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3803, allocations: 31.98 kB / 437.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3803, allocations: 0 / 437.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.027e-05/0.3804, allocations: 15.92 kB / 437.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3807, allocations: 12.03 kB / 437.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.3822, allocations: 1.374 MB / 439.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.3825, allocations: 0.6889 MB / 439.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.3826, allocations: 19.91 kB / 439.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.3826, allocations: 15.44 kB / 439.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3826, allocations: 0 / 439.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.4096, allocations: 1.589 MB / 441.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/8.84, allocations: 10.84 kB / 441.5 MB, free: 12.94 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 --stepSize=3.99122e-05 --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.539874339010566] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.912921505048871 8.93711112 8.556938005 Calling exit ...