Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009821/0.0009821, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 222.9 MB / 240.4 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 103.8 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05608/0.05608, allocations: 12.02 MB / 352.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009395/0.0009396, allocations: 52.77 kB / 415.8 MB, free: 53.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.0864, allocations: 52.33 MB / 468.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003062/0.0895, allocations: 2.282 MB / 470.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002689/0.08979, allocations: 143.5 kB / 470.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.08986, allocations: 3.938 kB / 470.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.09, allocations: 27.92 kB / 470.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.676e-05/0.0901, allocations: 7.922 kB / 470.6 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.09029, allocations: 43.91 kB / 470.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.09041, allocations: 59.84 kB / 470.7 MB, free: 15 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.09053, allocations: 19.98 kB / 470.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.09058, allocations: 31.84 kB / 470.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.09065, allocations: 23.86 kB / 470.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.09068, allocations: 4 kB / 470.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.958e-05/0.09076, allocations: 16 kB / 470.8 MB, free: 14.91 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.969e-05/0.09081, allocations: 23.91 kB / 470.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.09087, allocations: 23.88 kB / 470.9 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.09103, allocations: 91.7 kB / 471 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09104, allocations: 0 / 471 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09105, allocations: 0 / 471 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.09106, allocations: 0 / 471 MB, free: 14.77 MB / 314.7 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.0004126/0.09148, allocations: 431 kB / 471.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.09152, allocations: 11.97 kB / 471.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.09156, allocations: 12.84 kB / 471.4 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.09176, allocations: 200.2 kB / 471.6 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.09178, allocations: 8.359 kB / 471.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.0918, allocations: 4.375 kB / 471.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.09208, allocations: 161.4 kB / 471.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.09209, allocations: 192 / 471.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.09211, allocations: 7.938 kB / 471.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.09213, allocations: 4 kB / 471.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.0922, allocations: 31.98 kB / 471.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.09253, allocations: 281.7 kB / 472.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.09275, allocations: 158.3 kB / 472.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.09283, allocations: 37.78 kB / 472.3 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.09298, allocations: 93.02 kB / 472.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.09301, allocations: 42.5 kB / 472.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.09302, allocations: 0 / 472.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002845/0.09331, allocations: 172.9 kB / 472.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.09339, allocations: 132.5 kB / 472.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.09348, allocations: 129.7 kB / 472.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.0935, allocations: 29.7 kB / 472.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/0.09356, allocations: 92.12 kB / 472.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.09357, allocations: 3.906 kB / 473 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.09362, allocations: 29.7 kB / 473 MB, free: 12.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.09372, allocations: 314.8 kB / 473.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.09376, allocations: 15.98 kB / 473.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.09383, allocations: 62 kB / 473.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.09396, allocations: 188.6 kB / 473.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09397, allocations: 0 / 473.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000176/0.09415, allocations: 156.9 kB / 473.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.61e-05/0.0942, allocations: 59.41 kB / 473.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.0942, allocations: 0 / 473.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.09422, allocations: 4 kB / 473.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.09426, allocations: 12.16 kB / 473.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.09427, allocations: 11.98 kB / 473.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.723e-05/0.09431, allocations: 11.91 kB / 473.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.09433, allocations: 4 kB / 473.8 MB, free: 11.49 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 9.531e-05/0.09443, allocations: 177.1 kB / 474 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.09454, allocations: 73.53 kB / 474 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.09457, allocations: 12.09 kB / 474.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.09458, allocations: 3.984 kB / 474.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.09459, allocations: 4.094 kB / 474.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.0946, allocations: 3.938 kB / 474.1 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.09475, allocations: 177.6 kB / 474.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.09476, allocations: 4 kB / 474.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.09479, allocations: 7.984 kB / 474.3 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.0948, allocations: 4 kB / 474.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.09482, allocations: 3.938 kB / 474.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.09482, allocations: 320 / 474.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.09483, allocations: 4.078 kB / 474.3 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.09536, allocations: 0.8452 MB / 475.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.09541, allocations: 85.02 kB / 475.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.09544, allocations: 4 kB / 475.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.09549, allocations: 4 kB / 475.2 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.09553, allocations: 11.92 kB / 475.2 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.09555, allocations: 4 kB / 475.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.041e-05/0.0956, allocations: 99.58 kB / 475.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09561, allocations: 0 / 475.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.09595, allocations: 28 kB / 475.3 MB, free: 9.777 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (synchronizeRealtime.initialized) * Number of discrete states: 1 (synchronizeRealtime.initialized) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 2 * 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.0004714/0.09643, allocations: 253.5 kB / 475.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.09664, allocations: 170.7 kB / 475.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.09665, allocations: 0 / 475.8 MB, free: 9.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.09672, allocations: 118.8 kB / 475.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.097, allocations: 35.95 kB / 475.9 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.09751, allocations: 348.1 kB / 476.3 MB, free: 8.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.09775, allocations: 0.6926 MB / 476.9 MB, free: 8.117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.504e-05/0.09781, allocations: 15.98 kB / 477 MB, free: 8.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.09783, allocations: 11.44 kB / 477 MB, free: 8.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.9e-07/0.09783, allocations: 0 / 477 MB, free: 8.09 MB / 314.7 MB Notification: Performance of Templates: time 0.003568/0.1014, allocations: 1.306 MB / 478.3 MB, free: 6.797 MB / 314.7 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource.pipe 2>&1)