Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008677/0.0008677, allocations: 174.3 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.196/1.196, allocations: 205 MB / 222.6 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007162/0.0007162, allocations: 92.17 kB / 270.5 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06266/0.06266, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 12 kB / 391.7 MB, free: 66.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07353/0.07387, allocations: 49.97 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.0009542/0.07486, allocations: 0.6026 MB / 442.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004561/0.07533, allocations: 255.2 kB / 442.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.07541, allocations: 0 / 442.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.07546, allocations: 3.938 kB / 442.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.07558, allocations: 11.92 kB / 442.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.07592, allocations: 87.8 kB / 442.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.219e-05/0.07601, allocations: 47.84 kB / 442.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.667e-05/0.07609, allocations: 11.98 kB / 442.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.718e-05/0.07613, allocations: 15.92 kB / 442.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.07619, allocations: 19.86 kB / 442.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.07621, allocations: 4 kB / 442.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.07629, allocations: 43.91 kB / 442.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.07635, allocations: 15.92 kB / 442.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.07639, allocations: 35.78 kB / 442.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.022e-05/0.07648, allocations: 55.84 kB / 442.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.07649, allocations: 0 / 442.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.0765, allocations: 3.938 kB / 442.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.07651, allocations: 0 / 442.9 MB, free: 15.19 MB / 298.7 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.0003709/0.07689, allocations: 375.5 kB / 443.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.07693, allocations: 12.03 kB / 443.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.07697, allocations: 16.84 kB / 443.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.07712, allocations: 200 kB / 443.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.07714, allocations: 8.375 kB / 443.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.07716, allocations: 384 / 443.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.07739, allocations: 145.6 kB / 443.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.07741, allocations: 4.188 kB / 443.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.07742, allocations: 3.938 kB / 443.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.07743, allocations: 0 / 443.6 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.07748, allocations: 27.92 kB / 443.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.0777, allocations: 273.6 kB / 443.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.07779, allocations: 46.45 kB / 444 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.07783, allocations: 32.89 kB / 444 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/0.07832, allocations: 0.5778 MB / 444.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.07834, allocations: 30.56 kB / 444.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.07835, allocations: 0 / 444.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001731/0.07853, allocations: 89.64 kB / 444.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.07857, allocations: 67.39 kB / 444.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.029e-05/0.07866, allocations: 145.7 kB / 444.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.07868, allocations: 29.7 kB / 444.9 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.07871, allocations: 92.12 kB / 445 MB, free: 12.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.07873, allocations: 11.84 kB / 445 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.07875, allocations: 13.72 kB / 445.1 MB, free: 12.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.0788, allocations: 330.8 kB / 445.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.07883, allocations: 15.98 kB / 445.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.07887, allocations: 66 kB / 445.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.732e-05/0.07894, allocations: 81.88 kB / 445.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.07894, allocations: 192 / 445.5 MB, free: 12.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001129/0.07906, allocations: 109.4 kB / 445.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.07908, allocations: 11.94 kB / 445.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.07909, allocations: 464 / 445.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.07911, allocations: 8 kB / 445.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.07919, allocations: 19.92 kB / 445.7 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.0792, allocations: 7.984 kB / 445.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.07924, allocations: 4 kB / 445.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.07925, allocations: 4 kB / 445.7 MB, free: 11.96 MB / 298.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: 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 7.015e-05/0.07933, allocations: 130.6 kB / 445.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.0794, allocations: 77.53 kB / 445.9 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.07953, allocations: 86.3 kB / 446 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.07954, allocations: 0 / 446 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.07955, allocations: 0 / 446 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.07956, allocations: 0 / 446 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.241e-05/0.07963, allocations: 181.5 kB / 446.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.07964, allocations: 0 / 446.2 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.239e-05/0.07967, allocations: 4 kB / 446.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.07968, allocations: 4 kB / 446.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.07969, allocations: 0 / 446.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.0797, allocations: 0 / 446.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.07971, allocations: 0 / 446.2 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.07981, allocations: 108.9 kB / 446.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.07986, allocations: 93 kB / 446.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.07989, allocations: 4 kB / 446.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.07991, allocations: 8 kB / 446.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-06/0.07993, allocations: 0 / 446.4 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.07994, allocations: 7.984 kB / 446.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.869e-05/0.07999, allocations: 111.2 kB / 446.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08, allocations: 0 / 446.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001941/0.0802, allocations: 27.98 kB / 446.5 MB, free: 11.03 MB / 298.7 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.0001333/0.08034, allocations: 103.2 kB / 446.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.08045, allocations: 47.91 kB / 446.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.08046, allocations: 7.938 kB / 446.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.08046, allocations: 0 / 446.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.0808, allocations: 89.44 kB / 446.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.08108, allocations: 236.8 kB / 447 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.08123, allocations: 0.7004 MB / 447.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.08125, allocations: 11.44 kB / 447.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.08126, allocations: 0 / 447.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of Templates: time 0.002269/0.08353, allocations: 1.274 MB / 449 MB, free: 8.492 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches