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.001066/0.001066, allocations: 121.8 kB / 17.13 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 194.9 kB / 18.06 MB, free: 4.977 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.235/1.235, allocations: 222.9 MB / 241.8 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05506/0.05506, allocations: 12.05 MB / 304 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.84 kB / 420.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08212, allocations: 52.31 MB / 473 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestRandomRealSource): time 0.003494/0.08563, allocations: 2.235 MB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003133/0.08597, allocations: 139.5 kB / 475.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.08606, allocations: 7.938 kB / 475.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.08621, allocations: 19.8 kB / 475.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.079e-05/0.08632, allocations: 15.92 kB / 475.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.08656, allocations: 51.77 kB / 475.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.08672, allocations: 75.83 kB / 475.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.08682, allocations: 19.97 kB / 475.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.65e-05/0.08689, allocations: 35.84 kB / 475.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.08694, allocations: 23.86 kB / 475.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.08697, allocations: 4 kB / 475.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.08706, allocations: 39.97 kB / 475.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.0871, allocations: 11.94 kB / 475.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.776e-05/0.08715, allocations: 23.86 kB / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.08732, allocations: 103.6 kB / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.08734, allocations: 0 / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.08734, allocations: 4 kB / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.08735, allocations: 0 / 475.8 MB, free: 10.02 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.0004334/0.08779, allocations: 430.7 kB / 476.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.08783, allocations: 8.031 kB / 476.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.08787, allocations: 8.844 kB / 476.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.08812, allocations: 192.2 kB / 476.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.08813, allocations: 8.312 kB / 476.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.08816, allocations: 12.36 kB / 476.5 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.08845, allocations: 157.5 kB / 476.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.08846, allocations: 192 / 476.6 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.08849, allocations: 11.92 kB / 476.6 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.08851, allocations: 4 kB / 476.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.08859, allocations: 31.92 kB / 476.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003337/0.08893, allocations: 285.7 kB / 477 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.08916, allocations: 158.2 kB / 477.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.08924, allocations: 45.78 kB / 477.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.08933, allocations: 89.09 kB / 477.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.08937, allocations: 30.56 kB / 477.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.08937, allocations: 0 / 477.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003057/0.08968, allocations: 165 kB / 477.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.08976, allocations: 140.5 kB / 477.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.08986, allocations: 125.7 kB / 477.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.08989, allocations: 25.7 kB / 477.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.778e-05/0.08995, allocations: 96.16 kB / 477.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.08997, allocations: 11.91 kB / 477.8 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.09001, allocations: 21.72 kB / 477.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.09013, allocations: 322.8 kB / 478.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.921e-05/0.09017, allocations: 12 kB / 478.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.09024, allocations: 65.88 kB / 478.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.09039, allocations: 188.8 kB / 478.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0904, allocations: 0 / 478.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002017/0.0906, allocations: 168.8 kB / 478.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.09065, allocations: 65.27 kB / 478.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.09066, allocations: 0 / 478.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.09068, allocations: 4 kB / 478.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.09073, allocations: 8 kB / 478.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.09075, allocations: 4 kB / 478.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.0908, allocations: 15.78 kB / 478.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.09082, allocations: 4.219 kB / 478.7 MB, free: 6.738 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 0.0001493/0.09098, allocations: 189.1 kB / 478.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.0911, allocations: 61.59 kB / 478.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.792e-05/0.09115, allocations: 11.97 kB / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.09115, allocations: 0 / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.09116, allocations: 0 / 478.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.09117, allocations: 3.984 kB / 479 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.09138, allocations: 181.6 kB / 479.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.09139, allocations: 0 / 479.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.09143, allocations: 8 kB / 479.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.09144, allocations: 4 kB / 479.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.09145, allocations: 4.312 kB / 479.1 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.09146, allocations: 4 kB / 479.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.09147, allocations: 3.984 kB / 479.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.09172, allocations: 267.6 kB / 479.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.09177, allocations: 85.02 kB / 479.5 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.0918, allocations: 4 kB / 479.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.218e-05/0.09185, allocations: 8 kB / 479.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.09188, allocations: 4 kB / 479.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.0919, allocations: 7.984 kB / 479.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.09196, allocations: 87.28 kB / 479.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09196, allocations: 0 / 479.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.09223, allocations: 27.98 kB / 479.6 MB, free: 5.668 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.0004462/0.09268, allocations: 245.5 kB / 479.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.09291, allocations: 175 kB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.09292, allocations: 4.062 kB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.093, allocations: 122.8 kB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.09329, allocations: 42.58 kB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.09364, allocations: 204.8 kB / 480.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.09391, allocations: 0.6962 MB / 481.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.09393, allocations: 11.5 kB / 481.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09394, allocations: 4 kB / 481.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of Templates: time 0.002996/0.09694, allocations: 1.499 MB / 482.6 MB, free: 2.633 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)