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.001978/0.001978, allocations: 103.6 kB / 16.45 MB, free: 6.438 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.001713/0.001713, allocations: 189.4 kB / 17.39 MB, free: 5.688 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.658/1.658, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.08356/0.08356, allocations: 12.59 MB / 283.2 MB, free: 15.41 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.001795/0.001795, allocations: 90.47 kB / 394.2 MB, free: 45.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1294, allocations: 49.4 MB / 443.6 MB, free: 492 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.002445/0.1319, allocations: 0.884 MB / 444.5 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007028/0.1326, allocations: 255.1 kB / 444.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1327, allocations: 0 / 444.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.581e-05/0.1328, allocations: 7.938 kB / 444.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.133, allocations: 11.92 kB / 444.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.1335, allocations: 87.73 kB / 444.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1336, allocations: 51.89 kB / 444.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1338, allocations: 19.98 kB / 444.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.977e-05/0.1338, allocations: 19.92 kB / 444.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.1339, allocations: 23.86 kB / 444.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1339, allocations: 0 / 444.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.1341, allocations: 47.83 kB / 445 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.1342, allocations: 23.92 kB / 445 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.1342, allocations: 35.73 kB / 445 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1344, allocations: 87.58 kB / 445.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1344, allocations: 0 / 445.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1344, allocations: 0 / 445.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1344, allocations: 0 / 445.1 MB, free: 14.94 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.0006614/0.1351, allocations: 399 kB / 445.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1352, allocations: 8.031 kB / 445.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1352, allocations: 12.83 kB / 445.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1356, allocations: 200.2 kB / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1356, allocations: 384 / 445.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1356, allocations: 4.375 kB / 445.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.136, allocations: 153.5 kB / 445.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.136, allocations: 4.172 kB / 445.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.136, allocations: 7.938 kB / 445.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.136, allocations: 4 kB / 445.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.1361, allocations: 12 kB / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.1365, allocations: 277.7 kB / 446.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.1366, allocations: 50.44 kB / 446.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.1367, allocations: 24.86 kB / 446.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007548/0.1374, allocations: 0.5857 MB / 446.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.1375, allocations: 30.56 kB / 446.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.1375, allocations: 0 / 446.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003104/0.1378, allocations: 89.58 kB / 447 MB, free: 12.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.1379, allocations: 63.33 kB / 447 MB, free: 12.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1381, allocations: 145.8 kB / 447.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.1382, allocations: 29.7 kB / 447.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.1383, allocations: 88.12 kB / 447.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1383, allocations: 15.95 kB / 447.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.1384, allocations: 25.66 kB / 447.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1385, allocations: 322.8 kB / 447.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.069e-05/0.1386, allocations: 19.98 kB / 447.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.1387, allocations: 61.94 kB / 447.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1388, allocations: 85.88 kB / 447.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1388, allocations: 0 / 447.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.139, allocations: 113.5 kB / 447.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.139, allocations: 4 kB / 447.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.139, allocations: 4 kB / 447.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.1391, allocations: 0 / 447.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1392, allocations: 27.92 kB / 447.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.1392, allocations: 0 / 447.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.977e-05/0.1392, allocations: 8 kB / 447.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.1393, allocations: 8.219 kB / 448 MB, free: 11.69 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.0001329/0.1394, allocations: 131.8 kB / 448.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/0.1395, allocations: 73.66 kB / 448.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.1397, allocations: 86.33 kB / 448.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1397, allocations: 7.938 kB / 448.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1397, allocations: 0 / 448.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1397, allocations: 0 / 448.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1399, allocations: 173.6 kB / 448.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1399, allocations: 4 kB / 448.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.14, allocations: 8 kB / 448.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.14, allocations: 3.938 kB / 448.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.14, allocations: 0 / 448.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.14, allocations: 0 / 448.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.14, allocations: 0 / 448.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.1402, allocations: 101 kB / 448.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.1403, allocations: 101 kB / 448.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1403, allocations: 4 kB / 448.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.1404, allocations: 8 kB / 448.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.1404, allocations: 3.984 kB / 448.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1404, allocations: 0 / 448.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.762e-05/0.1405, allocations: 115.9 kB / 448.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1405, allocations: 192 / 448.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.1408, allocations: 20 kB / 448.8 MB, free: 10.76 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.0002406/0.141, allocations: 107.1 kB / 448.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.1412, allocations: 64.03 kB / 448.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1412, allocations: 0 / 448.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.1412, allocations: 0 / 448.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.1418, allocations: 70.27 kB / 449 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.1423, allocations: 177.3 kB / 449.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.1428, allocations: 0.7041 MB / 449.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.144e-05/0.1429, allocations: 9.203 kB / 449.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.387e-05/0.1429, allocations: 15.38 kB / 449.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1429, allocations: 0 / 449.9 MB, free: 9.559 MB / 334.1 MB Notification: Performance of Templates: time 0.004982/0.1479, allocations: 1.348 MB / 451.3 MB, free: 8.211 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