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.TimeBasedSine.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.001349/0.001349, allocations: 116.5 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.001367/0.001367, allocations: 216.9 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.443/1.443, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",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.001882/0.001882, allocations: 75.83 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 53.31 MB / 426.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00272/0.1059, allocations: 1.509 MB / 428.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008441/0.1067, allocations: 478.8 kB / 428.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.1068, allocations: 3.938 kB / 428.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.1068, allocations: 0 / 428.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.299e-05/0.1069, allocations: 15.86 kB / 428.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1071, allocations: 31.91 kB / 428.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.155e-05/0.1072, allocations: 35.86 kB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.1073, allocations: 15.98 kB / 429 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1074, allocations: 23.86 kB / 429 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.1075, allocations: 15.92 kB / 429 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1075, allocations: 7.938 kB / 429 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.1075, allocations: 4 kB / 429 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.1076, allocations: 11.98 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1076, allocations: 15.88 kB / 429 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1077, allocations: 43.75 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1077, allocations: 8 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1077, allocations: 0 / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1077, allocations: 0 / 429.1 MB, free: 2.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004434/0.1081, allocations: 355.3 kB / 429.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1082, allocations: 8.031 kB / 429.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.1082, allocations: 34.75 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.1084, allocations: 12.92 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1086, allocations: 184.3 kB / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.1086, allocations: 4.375 kB / 429.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1086, allocations: 4.375 kB / 429.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1089, allocations: 119.4 kB / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1089, allocations: 0 / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1089, allocations: 0 / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1089, allocations: 4 kB / 429.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.109, allocations: 23.92 kB / 429.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.1092, allocations: 169.6 kB / 430 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1093, allocations: 50.55 kB / 430 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.1094, allocations: 24.92 kB / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1094, allocations: 0 / 430.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1094, allocations: 38.5 kB / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.1094, allocations: 0 / 430.1 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.1097, allocations: 77.61 kB / 430.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.1097, allocations: 55.41 kB / 430.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.1098, allocations: 110.1 kB / 430.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1098, allocations: 25.7 kB / 430.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.1099, allocations: 88.14 kB / 430.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.1099, allocations: 8.078 kB / 430.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.1099, allocations: 17.66 kB / 430.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.11, allocations: 314.8 kB / 430.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.1101, allocations: 4 kB / 430.8 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/0.1101, allocations: 35.42 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.1101, allocations: 31.38 kB / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.1102, allocations: 4 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.234e-05/0.1102, allocations: 73.39 kB / 430.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1103, allocations: 4 kB / 430.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1103, allocations: 0 / 430.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1103, allocations: 8.125 kB / 430.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.1103, allocations: 4 kB / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1103, allocations: 0 / 431 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.1104, allocations: 7.938 kB / 431 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-06/0.1104, allocations: 0 / 431 MB, free: 0.5039 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 8.861e-05/0.1104, allocations: 113.8 kB / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1106, allocations: 65.55 kB / 431.1 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.1106, allocations: 7.906 kB / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1106, allocations: 0 / 431.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1106, allocations: 8.328 kB / 431.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1106, allocations: 3.984 kB / 431.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.1108, allocations: 157.6 kB / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1108, allocations: 0 / 431.3 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.1108, allocations: 15.92 kB / 431.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1108, allocations: 3.984 kB / 431.3 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.1108, allocations: 0 / 431.3 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1108, allocations: 4 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1108, allocations: 0 / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.111, allocations: 101.1 kB / 431.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.1111, allocations: 88.98 kB / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1111, allocations: 0 / 431.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.04e-05/0.1111, allocations: 4 kB / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-06/0.1111, allocations: 0 / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1111, allocations: 0 / 431.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.1112, allocations: 95.2 kB / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1112, allocations: 0 / 431.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.1114, allocations: 8 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.000469/0.1119, allocations: 0.6202 MB / 432.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.112, allocations: 27.92 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.112, allocations: 256 / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.112, allocations: 4 kB / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1122, allocations: 23.92 kB / 432.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.1133, allocations: 1.186 MB / 433.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.1137, allocations: 0.6885 MB / 434.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.425e-05/0.1137, allocations: 0 / 434.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.1137, allocations: 15.44 kB / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1137, allocations: 0 / 434.2 MB, free: 13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1415, allocations: 1.343 MB / 435.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.165, allocations: 7.938 kB / 435.5 MB, free: 11.79 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.570303451735526] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.234670201782137 8.423903974 8.147917508 Calling exit ...