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.Sample2.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.001514/0.001514, 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.001513/0.001513, 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.617/1.617, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",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.7 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3763, allocations: 53.35 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003608/0.3799, allocations: 1.591 MB / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004722/0.3804, allocations: 139.5 kB / 433.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3805, allocations: 4 kB / 433.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.735e-05/0.3806, allocations: 3.938 kB / 433.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3807, allocations: 3.938 kB / 433.7 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.381, allocations: 51.83 kB / 433.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3812, allocations: 31.86 kB / 433.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3813, allocations: 8 kB / 433.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.3813, allocations: 19.86 kB / 433.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.3814, allocations: 15.92 kB / 433.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3814, allocations: 4 kB / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.3814, allocations: 4 kB / 433.8 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.3815, allocations: 15.92 kB / 433.8 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.3816, allocations: 19.81 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3817, allocations: 48.59 kB / 433.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3818, allocations: 0 / 433.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.3818, allocations: 4 kB / 433.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3818, allocations: 0 / 433.9 MB, free: 4.926 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.0006062/0.3824, allocations: 302 kB / 434.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3824, allocations: 8.031 kB / 434.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.532e-05/0.3825, allocations: 38.69 kB / 434.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.3825, allocations: 8.891 kB / 434.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.3828, allocations: 126.4 kB / 434.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3829, allocations: 12.36 kB / 434.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.3829, allocations: 4.312 kB / 434.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.3832, allocations: 113.6 kB / 434.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3832, allocations: 3.938 kB / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3832, allocations: 4 kB / 434.5 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3833, allocations: 4 kB / 434.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.3833, allocations: 19.92 kB / 434.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.3837, allocations: 228.8 kB / 434.7 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.3839, allocations: 69.08 kB / 434.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.644e-05/0.384, allocations: 25.77 kB / 434.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.384, allocations: 0 / 434.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.384, allocations: 34.56 kB / 434.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3841, allocations: 0 / 434.9 MB, free: 3.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002955/0.3843, allocations: 77.55 kB / 434.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.3844, allocations: 85.42 kB / 435 MB, free: 3.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3846, allocations: 134 kB / 435.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3846, allocations: 25.7 kB / 435.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.3847, allocations: 88.14 kB / 435.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3847, allocations: 3.953 kB / 435.3 MB, free: 3.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.3847, allocations: 21.7 kB / 435.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3849, allocations: 314.8 kB / 435.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.3849, allocations: 19.92 kB / 435.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.057e-05/0.385, allocations: 35.42 kB / 435.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/0.385, allocations: 47.36 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3851, allocations: 3.938 kB / 435.7 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001297/0.3852, allocations: 61.61 kB / 435.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3852, allocations: 8 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3852, allocations: 0 / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3852, allocations: 0 / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.3853, allocations: 8 kB / 435.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3853, allocations: 7.938 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.493e-05/0.3853, allocations: 12.06 kB / 435.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3853, allocations: 4 kB / 435.8 MB, free: 2.75 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.0001403/0.3855, allocations: 121.7 kB / 435.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/0.3856, allocations: 45.69 kB / 436 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.3856, allocations: 12.34 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3856, allocations: 4 kB / 436 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.3856, allocations: 3.938 kB / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3856, allocations: 0 / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.3858, allocations: 148.6 kB / 436.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3858, allocations: 4 kB / 436.1 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.3859, allocations: 11.98 kB / 436.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3859, allocations: 3.938 kB / 436.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.3859, allocations: 0 / 436.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3859, allocations: 0 / 436.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3859, allocations: 0 / 436.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.3861, allocations: 168.3 kB / 436.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.3862, allocations: 19.88 kB / 436.3 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3862, allocations: 4 kB / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.3862, allocations: 0 / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.3863, allocations: 0 / 436.3 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.3863, allocations: 4 kB / 436.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.3864, allocations: 106.3 kB / 436.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3864, allocations: 4 kB / 436.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.3866, allocations: 4 kB / 436.4 MB, free: 2.016 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.0005875/0.3872, allocations: 0.7015 MB / 437.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001624/0.3874, allocations: 27.92 kB / 437.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3874, allocations: 256 / 437.2 MB, free: 1.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.3874, allocations: 15.98 kB / 437.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3878, allocations: 19.97 kB / 437.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.3894, allocations: 1.326 MB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.3898, allocations: 0.6923 MB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.3898, allocations: 4 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.3899, allocations: 15.48 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3899, allocations: 0 / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.417, allocations: 1.487 MB / 440.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/8.731, allocations: 14.48 kB / 440.7 MB, free: 13.65 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_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_Sample2.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.343712790869176] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.805782879237086 8.839557885 8.451657699 Calling exit ...