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.001779/0.001779, allocations: 101.1 kB / 21.22 MB, free: 0.5391 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.002013/0.002013, allocations: 210 kB / 24.54 MB, free: 3.906 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.524/1.524, 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.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.00197/0.00197, allocations: 72.48 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3029, allocations: 53.36 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002874/0.3058, allocations: 1.529 MB / 433.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009121/0.3067, allocations: 486.7 kB / 433.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.3067, allocations: 4 kB / 433.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.3068, allocations: 3.938 kB / 433.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.3069, allocations: 19.84 kB / 434 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.3071, allocations: 31.84 kB / 434 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.3072, allocations: 35.92 kB / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.3073, allocations: 8 kB / 434 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.3075, allocations: 23.86 kB / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.3075, allocations: 23.84 kB / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3075, allocations: 4 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.851e-05/0.3076, allocations: 8 kB / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.3076, allocations: 8 kB / 434.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.3076, allocations: 23.86 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3077, allocations: 35.53 kB / 434.2 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.3078, allocations: 8 kB / 434.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3078, allocations: 0 / 434.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3078, allocations: 0 / 434.2 MB, free: 4.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004292/0.3082, allocations: 271.3 kB / 434.4 MB, free: 4.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.3082, allocations: 8.031 kB / 434.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.3083, allocations: 38.73 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.3084, allocations: 12.94 kB / 434.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.3087, allocations: 122.4 kB / 434.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.3087, allocations: 8.375 kB / 434.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.3087, allocations: 4.312 kB / 434.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.309, allocations: 115.4 kB / 434.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.309, allocations: 0 / 434.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.309, allocations: 4 kB / 434.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.309, allocations: 0 / 434.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.666e-05/0.3091, allocations: 27.91 kB / 434.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.3093, allocations: 128.8 kB / 434.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.3094, allocations: 62.55 kB / 434.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.3095, allocations: 20.92 kB / 435 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3095, allocations: 4 kB / 435 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3095, allocations: 34.5 kB / 435 MB, free: 3.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3095, allocations: 3.938 kB / 435 MB, free: 3.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002635/0.3098, allocations: 81.73 kB / 435.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.3098, allocations: 55.41 kB / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.3099, allocations: 113.8 kB / 435.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3099, allocations: 25.7 kB / 435.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.31, allocations: 84.14 kB / 435.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.421e-06/0.31, allocations: 0 / 435.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.31, allocations: 17.72 kB / 435.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3102, allocations: 318.8 kB / 435.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.3102, allocations: 4 kB / 435.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.249e-05/0.3102, allocations: 31.42 kB / 435.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.3103, allocations: 39.38 kB / 435.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3103, allocations: 0 / 435.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.162e-05/0.3104, allocations: 69.45 kB / 435.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3104, allocations: 4 kB / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3104, allocations: 4 kB / 435.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3104, allocations: 0 / 435.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.3104, allocations: 7.984 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3104, allocations: 4 kB / 435.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.3105, allocations: 0 / 435.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.3105, allocations: 4 kB / 435.9 MB, free: 2.742 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 8.725e-05/0.3106, allocations: 113.9 kB / 436 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3107, allocations: 73.55 kB / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.3107, allocations: 8 kB / 436 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3107, allocations: 3.938 kB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3107, allocations: 0 / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3107, allocations: 0 / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.3108, allocations: 136.7 kB / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3108, allocations: 0 / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.074e-05/0.3109, allocations: 11.94 kB / 436.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3109, allocations: 0 / 436.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3109, allocations: 4 kB / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3109, allocations: 8.359 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3109, allocations: 0 / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3111, allocations: 85.05 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.3111, allocations: 11.89 kB / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3111, allocations: 7.938 kB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.3111, allocations: 0 / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.3111, allocations: 4 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3111, allocations: 4 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.753e-05/0.3112, allocations: 91.27 kB / 436.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3112, allocations: 0 / 436.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001854/0.3114, allocations: 4 kB / 436.4 MB, free: 2.102 MB / 334.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.0004606/0.3119, allocations: 0.6202 MB / 437 MB, free: 1.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001214/0.312, allocations: 27.92 kB / 437.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.312, allocations: 0 / 437.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.312, allocations: 0 / 437.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.3122, allocations: 23.92 kB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3133, allocations: 1.195 MB / 438.3 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3137, allocations: 0.6846 MB / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.269e-05/0.3137, allocations: 0 / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3137, allocations: 11.44 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3137, allocations: 0 / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3373, allocations: 1.352 MB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.28, allocations: 4.062 kB / 440.3 MB, free: 14.12 MB / 350.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.649371468927711] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.35268981475383 8.381084487 8.06853922 Calling exit ...