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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001756, allocations: 105 kB / 16.45 MB, free: 6.391 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.002061/0.002061, allocations: 189 kB / 17.39 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.1 MB / 223.3 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08402/0.08402, allocations: 12.59 MB / 283.2 MB, free: 15.38 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 83.38 kB / 394.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1397, allocations: 49.4 MB / 443.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.003646/0.1434, allocations: 0.884 MB / 444.5 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.1443, allocations: 251.1 kB / 444.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.1446, allocations: 7.938 kB / 444.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.29e-05/0.1447, allocations: 7.938 kB / 444.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002573/0.145, allocations: 11.86 kB / 444.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.1457, allocations: 91.78 kB / 444.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1459, allocations: 47.91 kB / 444.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.146, allocations: 19.92 kB / 444.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.1461, allocations: 19.92 kB / 444.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.922e-05/0.1462, allocations: 27.78 kB / 444.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.1462, allocations: 4 kB / 444.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1464, allocations: 35.97 kB / 445 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.1465, allocations: 27.91 kB / 445 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.1466, allocations: 31.75 kB / 445 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.1468, allocations: 87.7 kB / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1469, allocations: 3.984 kB / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1469, allocations: 0 / 445.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1469, allocations: 0 / 445.1 MB, free: 14.92 MB / 334.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.0007177/0.1476, allocations: 391.1 kB / 445.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1477, allocations: 8.031 kB / 445.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.1477, allocations: 8.844 kB / 445.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.1481, allocations: 204.1 kB / 445.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1481, allocations: 4.375 kB / 445.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.1481, allocations: 4.312 kB / 445.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.1485, allocations: 161.4 kB / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1485, allocations: 192 / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1485, allocations: 3.938 kB / 445.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1486, allocations: 4 kB / 445.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.829e-05/0.1486, allocations: 20 kB / 445.9 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.149, allocations: 273.7 kB / 446.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1492, allocations: 46.5 kB / 446.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.1492, allocations: 24.86 kB / 446.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.15, allocations: 0.5818 MB / 446.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.15, allocations: 30.56 kB / 446.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.15, allocations: 0 / 446.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002444/0.1503, allocations: 89.52 kB / 446.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.1503, allocations: 63.31 kB / 447 MB, free: 12.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1505, allocations: 153.7 kB / 447.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1505, allocations: 25.7 kB / 447.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.1506, allocations: 92.14 kB / 447.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.1506, allocations: 4 kB / 447.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.1507, allocations: 29.61 kB / 447.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1509, allocations: 322.8 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.1509, allocations: 15.98 kB / 447.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.151, allocations: 74.05 kB / 447.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1511, allocations: 77.88 kB / 447.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1511, allocations: 4 kB / 447.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002098/0.1514, allocations: 105.5 kB / 447.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.1514, allocations: 8 kB / 447.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1514, allocations: 0 / 447.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.1514, allocations: 4.047 kB / 447.9 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.1515, allocations: 23.91 kB / 447.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1516, allocations: 4 kB / 447.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1516, allocations: 12.41 kB / 447.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1516, allocations: 4 kB / 447.9 MB, free: 11.68 MB / 334.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.0001405/0.1518, allocations: 135.7 kB / 448.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1519, allocations: 73.59 kB / 448.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.1521, allocations: 78.39 kB / 448.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1521, allocations: 0 / 448.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1521, allocations: 3.938 kB / 448.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1521, allocations: 4 kB / 448.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.1523, allocations: 185.4 kB / 448.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.1523, allocations: 3.938 kB / 448.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/0.1524, allocations: 4 kB / 448.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1524, allocations: 4 kB / 448.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1524, allocations: 0 / 448.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.1524, allocations: 3.984 kB / 448.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1524, allocations: 0 / 448.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.1526, allocations: 96.97 kB / 448.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.1527, allocations: 97 kB / 448.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.1527, allocations: 7.984 kB / 448.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.477e-05/0.1527, allocations: 4 kB / 448.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-06/0.1528, allocations: 0 / 448.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1528, allocations: 8 kB / 448.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1529, allocations: 115.9 kB / 448.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1529, allocations: 0 / 448.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1531, allocations: 20 kB / 448.8 MB, free: 10.74 MB / 334.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.0001989/0.1534, allocations: 111.1 kB / 448.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1536, allocations: 55.91 kB / 448.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.1536, allocations: 0 / 448.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.1536, allocations: 0 / 448.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.154, allocations: 82.2 kB / 449 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.1544, allocations: 173.5 kB / 449.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.1549, allocations: 0.7045 MB / 449.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.914e-05/0.1549, allocations: 8.672 kB / 449.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.155, allocations: 11.44 kB / 449.9 MB, free: 9.539 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.155, allocations: 3.938 kB / 449.9 MB, free: 9.535 MB / 334.1 MB Notification: Performance of Templates: time 0.005302/0.1603, allocations: 1.34 MB / 451.3 MB, free: 8.195 MB / 334.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches