Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001522, allocations: 184 kB / 16.72 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.7 MB / 243.2 MB, free: 8.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 99.06 kB / 294.4 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.000321, allocations: 15.94 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2382, allocations: 50.41 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001268/0.2395, allocations: 0.5917 MB / 405.2 MB, free: 30.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007001/0.2402, allocations: 474.7 kB / 405.6 MB, free: 30.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.2404, allocations: 3.938 kB / 405.6 MB, free: 30.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.03e-05/0.2404, allocations: 11.92 kB / 405.6 MB, free: 30.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.2406, allocations: 4 kB / 405.7 MB, free: 30.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.241, allocations: 91.25 kB / 405.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.2411, allocations: 43.86 kB / 405.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.2412, allocations: 11.98 kB / 405.8 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.2412, allocations: 11.94 kB / 405.8 MB, free: 30.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.2413, allocations: 23.84 kB / 405.8 MB, free: 30.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.2413, allocations: 4.625 kB / 405.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.2414, allocations: 31.97 kB / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.2415, allocations: 20.77 kB / 405.9 MB, free: 30 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.2416, allocations: 53.5 kB / 405.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.2417, allocations: 84.23 kB / 406 MB, free: 29.86 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2417, allocations: 4.781 kB / 406 MB, free: 29.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2417, allocations: 0 / 406 MB, free: 29.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2417, allocations: 1.375 kB / 406 MB, free: 29.86 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.0004028/0.2421, allocations: 372.7 kB / 406.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2422, allocations: 8.031 kB / 406.4 MB, free: 29.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.2422, allocations: 10.06 kB / 406.4 MB, free: 29.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2424, allocations: 204.9 kB / 406.6 MB, free: 29.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2424, allocations: 6.125 kB / 406.6 MB, free: 29.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2424, allocations: 4.375 kB / 406.6 MB, free: 29.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.2427, allocations: 152.5 kB / 406.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2427, allocations: 192 / 406.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2427, allocations: 7.922 kB / 406.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2427, allocations: 4 kB / 406.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.2428, allocations: 23.92 kB / 406.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.2431, allocations: 272.2 kB / 407.1 MB, free: 28.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.831e-05/0.2432, allocations: 42.52 kB / 407.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.2432, allocations: 32.89 kB / 407.1 MB, free: 28.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005298/0.2437, allocations: 0.5778 MB / 407.7 MB, free: 27.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.2438, allocations: 34.5 kB / 407.8 MB, free: 27.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.2438, allocations: 0 / 407.8 MB, free: 27.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001858/0.244, allocations: 85.66 kB / 407.8 MB, free: 27.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.244, allocations: 71.25 kB / 407.9 MB, free: 27.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2441, allocations: 145.9 kB / 408 MB, free: 27.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.2441, allocations: 29.7 kB / 408.1 MB, free: 27.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.2442, allocations: 92.12 kB / 408.2 MB, free: 27.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.2442, allocations: 3.906 kB / 408.2 MB, free: 27.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.2442, allocations: 4 kB / 408.2 MB, free: 27.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.2443, allocations: 326.8 kB / 408.5 MB, free: 27.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.2443, allocations: 15.98 kB / 408.5 MB, free: 27.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.2443, allocations: 69.94 kB / 408.6 MB, free: 26.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.152e-05/0.2444, allocations: 77.94 kB / 408.7 MB, free: 26.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2444, allocations: 0 / 408.7 MB, free: 26.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001143/0.2445, allocations: 105.5 kB / 408.8 MB, free: 26.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2446, allocations: 11.98 kB / 408.8 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2446, allocations: 0 / 408.8 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2446, allocations: 4.219 kB / 408.8 MB, free: 26.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.2447, allocations: 16 kB / 408.8 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2447, allocations: 4 kB / 408.8 MB, free: 26.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.304e-05/0.2447, allocations: 7.844 kB / 408.8 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2447, allocations: 12 kB / 408.8 MB, free: 26.68 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 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.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 8.057e-05/0.2448, allocations: 138.7 kB / 408.9 MB, free: 26.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.2449, allocations: 65.59 kB / 409 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.245, allocations: 94.27 kB / 409.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.245, allocations: 4 kB / 409.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2451, allocations: 0 / 409.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2451, allocations: 3.984 kB / 409.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.111e-05/0.2451, allocations: 173.6 kB / 409.3 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2451, allocations: 0 / 409.3 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.2452, allocations: 7.984 kB / 409.3 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2452, allocations: 0 / 409.3 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.2452, allocations: 0 / 409.3 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2452, allocations: 4 kB / 409.3 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2452, allocations: 0 / 409.3 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.2453, allocations: 113 kB / 409.4 MB, free: 26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.2454, allocations: 96.98 kB / 409.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.2454, allocations: 4.188 kB / 409.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.2454, allocations: 0 / 409.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-06/0.2454, allocations: 3.938 kB / 409.5 MB, free: 25.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2455, allocations: 3.938 kB / 409.5 MB, free: 25.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.808e-05/0.2455, allocations: 119.2 kB / 409.6 MB, free: 25.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2455, allocations: 0 / 409.6 MB, free: 25.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.2457, allocations: 20 kB / 409.6 MB, free: 25.73 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.0001334/0.2459, allocations: 127.4 kB / 409.8 MB, free: 25.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.246, allocations: 47.91 kB / 409.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.246, allocations: 0 / 409.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.246, allocations: 0 / 409.8 MB, free: 25.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.2463, allocations: 87.16 kB / 409.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.2466, allocations: 199.1 kB / 410.1 MB, free: 25.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2467, allocations: 0.7004 MB / 410.8 MB, free: 24.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.791e-05/0.2468, allocations: 8.656 kB / 410.8 MB, free: 24.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.2468, allocations: 15.44 kB / 410.8 MB, free: 24.49 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2468, allocations: 0 / 410.8 MB, free: 24.49 MB / 298.7 MB Notification: Performance of Templates: time 0.003192/0.25, allocations: 1.252 MB / 412.1 MB, free: 23.25 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches