Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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) 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.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.00151, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001629/0.001629, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.572/1.572, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 50.67 kB / 300.6 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.146, allocations: 49.45 MB / 350.1 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002858/0.1489, allocations: 0.8678 MB / 350.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006716/0.1497, allocations: 255.1 kB / 351.2 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1498, allocations: 8 kB / 351.2 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.916e-05/0.1498, allocations: 11.86 kB / 351.2 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.15, allocations: 3.938 kB / 351.2 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.1505, allocations: 96.84 kB / 351.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1506, allocations: 47.84 kB / 351.3 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1507, allocations: 16 kB / 351.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.1508, allocations: 19.91 kB / 351.4 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.1509, allocations: 23.86 kB / 351.4 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1509, allocations: 0 / 351.4 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.151, allocations: 39.97 kB / 351.4 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.1511, allocations: 23.86 kB / 351.5 MB, free: 3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.1512, allocations: 31.8 kB / 351.5 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1514, allocations: 95.69 kB / 351.6 MB, free: 2.875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1514, allocations: 0 / 351.6 MB, free: 2.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1514, allocations: 0 / 351.6 MB, free: 2.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1514, allocations: 0 / 351.6 MB, free: 2.875 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006953/0.1521, allocations: 395.3 kB / 352 MB, free: 2.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.1522, allocations: 11.89 kB / 352 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1522, allocations: 12.84 kB / 352 MB, free: 2.414 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.1525, allocations: 198.9 kB / 352.2 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1525, allocations: 384 / 352.2 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1525, allocations: 12.31 kB / 352.2 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.1529, allocations: 157.5 kB / 352.4 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.153, allocations: 4.125 kB / 352.4 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.153, allocations: 3.938 kB / 352.4 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.153, allocations: 0 / 352.4 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/0.1531, allocations: 23.92 kB / 352.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004222/0.1535, allocations: 265.8 kB / 352.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1536, allocations: 50.5 kB / 352.7 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.1536, allocations: 20.8 kB / 352.7 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008346/0.1545, allocations: 0.5857 MB / 353.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1545, allocations: 34.56 kB / 353.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1545, allocations: 0 / 353.3 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002236/0.1548, allocations: 89.64 kB / 353.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.1548, allocations: 59.31 kB / 353.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.155, allocations: 149.8 kB / 353.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.155, allocations: 25.7 kB / 353.7 MB, free: 476 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.1551, allocations: 88.14 kB / 353.7 MB, free: 384 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1551, allocations: 11.98 kB / 353.8 MB, free: 372 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1551, allocations: 33.56 kB / 353.8 MB, free: 332 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1553, allocations: 322.8 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.233e-05/0.1554, allocations: 16.05 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.1554, allocations: 65.94 kB / 354.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.189e-05/0.1555, allocations: 81.88 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1556, allocations: 0 / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001594/0.1557, allocations: 109.5 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1557, allocations: 8 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1558, allocations: 7.922 kB / 354.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1558, allocations: 4 kB / 354.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.465e-05/0.1559, allocations: 12 kB / 354.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.1559, allocations: 7.938 kB / 354.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.676e-05/0.1559, allocations: 3.938 kB / 354.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1559, allocations: 8.219 kB / 354.4 MB, free: 15.63 MB / 302.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: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001869/0.1561, allocations: 133.8 kB / 354.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.717e-05/0.1562, allocations: 65.59 kB / 354.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.1564, allocations: 90.33 kB / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1564, allocations: 0 / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1564, allocations: 0 / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1565, allocations: 3.984 kB / 354.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1566, allocations: 177.5 kB / 354.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1566, allocations: 4 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.1566, allocations: 7.984 kB / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1567, allocations: 0 / 354.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1567, allocations: 4 kB / 354.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.1567, allocations: 4 kB / 354.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1567, allocations: 0 / 354.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1569, allocations: 101.1 kB / 355 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.1569, allocations: 100.9 kB / 355.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.157, allocations: 4 kB / 355.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.354e-05/0.157, allocations: 4.188 kB / 355.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-06/0.157, allocations: 0 / 355.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.157, allocations: 8.125 kB / 355.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.1571, allocations: 121.2 kB / 355.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1571, allocations: 0 / 355.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1573, allocations: 12 kB / 355.2 MB, free: 14.7 MB / 302.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002031/0.1576, allocations: 127.1 kB / 355.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.1577, allocations: 55.91 kB / 355.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1577, allocations: 0 / 355.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.1577, allocations: 0 / 355.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1581, allocations: 85.62 kB / 355.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.1585, allocations: 181.8 kB / 355.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1588, allocations: 0.7041 MB / 356.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.1588, allocations: 8.656 kB / 356.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.1588, allocations: 11.44 kB / 356.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1588, allocations: 0 / 356.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of Templates: time 0.004352/0.1632, allocations: 1.326 MB / 357.7 MB, free: 12.15 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches