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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 96.7 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 181.4 kB / 16.96 MB, free: 6.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1492/0.1492, allocations: 12.03 MB / 304.2 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002661, allocations: 8 kB / 368.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07775/0.07803, allocations: 53.34 MB / 421.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.002216/0.08028, allocations: 1.921 MB / 423.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.08056, allocations: 147.5 kB / 423.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.08062, allocations: 0 / 423.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.08076, allocations: 15.94 kB / 423.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.08084, allocations: 23.91 kB / 423.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.08103, allocations: 43.84 kB / 423.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.08115, allocations: 59.78 kB / 423.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.08125, allocations: 31.97 kB / 423.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.556e-05/0.08129, allocations: 15.92 kB / 423.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.08135, allocations: 27.84 kB / 423.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.08138, allocations: 4 kB / 423.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.08145, allocations: 24 kB / 423.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.08149, allocations: 11.92 kB / 423.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.08155, allocations: 65.44 kB / 424 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.08169, allocations: 83.75 kB / 424.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.0817, allocations: 0 / 424.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.08171, allocations: 0 / 424.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.08172, allocations: 0 / 424.1 MB, free: 1.191 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003384/0.08206, allocations: 411 kB / 424.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.0821, allocations: 11.97 kB / 424.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.08214, allocations: 12.84 kB / 424.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.08231, allocations: 192.3 kB / 424.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.08234, allocations: 8.375 kB / 424.7 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.08236, allocations: 8.375 kB / 424.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.08264, allocations: 159.9 kB / 424.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.08265, allocations: 192 / 424.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.08267, allocations: 7.938 kB / 424.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.0827, allocations: 8 kB / 424.9 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.08277, allocations: 31.92 kB / 424.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1447/0.2275, allocations: 275 kB / 425.2 MB, free: 39.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.2278, allocations: 158.1 kB / 425.4 MB, free: 39.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.338e-05/0.2279, allocations: 39.45 kB / 425.4 MB, free: 39.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.228, allocations: 84.52 kB / 425.5 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.228, allocations: 34.56 kB / 425.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.228, allocations: 0.625 kB / 425.5 MB, free: 38.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002994/0.2283, allocations: 178.3 kB / 425.7 MB, free: 38.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2284, allocations: 136.6 kB / 425.8 MB, free: 38.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.2285, allocations: 120.5 kB / 425.9 MB, free: 38.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2285, allocations: 27.62 kB / 426 MB, free: 38.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.2285, allocations: 93.25 kB / 426 MB, free: 38.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.2285, allocations: 16.83 kB / 426.1 MB, free: 38.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.2286, allocations: 13.03 kB / 426.1 MB, free: 38.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.734e-05/0.2286, allocations: 320.5 kB / 426.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.2286, allocations: 20.12 kB / 426.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.2287, allocations: 61.77 kB / 426.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.005e-05/0.2288, allocations: 177 kB / 426.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2288, allocations: 2.25 kB / 426.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001694/0.229, allocations: 162.2 kB / 426.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.229, allocations: 62.22 kB / 426.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.229, allocations: 7.688 kB / 426.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.229, allocations: 3.188 kB / 426.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.2291, allocations: 11.3 kB / 426.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.2291, allocations: 1.156 kB / 426.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.2292, allocations: 8.922 kB / 426.9 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2292, allocations: 7.906 kB / 426.9 MB, free: 37.69 MB / 350.1 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 7.103e-05/0.2292, allocations: 177.2 kB / 427.1 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.2293, allocations: 70.34 kB / 427.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.2294, allocations: 14.5 kB / 427.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2294, allocations: 2.484 kB / 427.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2294, allocations: 0 / 427.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2294, allocations: 4.375 kB / 427.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.2295, allocations: 179 kB / 427.3 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2295, allocations: 0.5625 kB / 427.3 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.2296, allocations: 9.328 kB / 427.4 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2296, allocations: 2.344 kB / 427.4 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2296, allocations: 9.844 kB / 427.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2296, allocations: 0 / 427.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2296, allocations: 2.672 kB / 427.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.2298, allocations: 261.5 kB / 427.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.2298, allocations: 88.92 kB / 427.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.2299, allocations: 11.16 kB / 427.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.119e-05/0.2299, allocations: 2.734 kB / 427.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.23, allocations: 6.469 kB / 427.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.23, allocations: 3.094 kB / 427.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.28e-05/0.23, allocations: 94.05 kB / 427.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.23, allocations: 2.719 kB / 427.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.2303, allocations: 23.52 kB / 427.8 MB, free: 36.9 MB / 350.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: 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.0004014/0.2307, allocations: 248.3 kB / 428.1 MB, free: 36.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.2309, allocations: 172.5 kB / 428.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2309, allocations: 3.719 kB / 428.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.2309, allocations: 120 kB / 428.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2312, allocations: 32.09 kB / 428.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.2316, allocations: 226.4 kB / 428.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.22e-05/0.2317, allocations: 0.6972 MB / 429.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.2318, allocations: 16.53 kB / 429.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.486e-05/0.2318, allocations: 10.97 kB / 429.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2318, allocations: 0 / 429.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of Templates: time 0.003162/0.2349, allocations: 1.265 MB / 430.6 MB, free: 35.55 MB / 350.1 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)