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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 84 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003649/0.003649, allocations: 140.8 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8176/0.8176, allocations: 173.4 MB / 201.2 MB, free: 9.461 MB / 186.7 MB " [Timeout remaining time 179] 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=5106,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=5106,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 3.938 kB / 319.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.581e-05, allocations: 2.281 kB / 319.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.001461/0.001487, allocations: 0.8826 MB / 320.6 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.001909, allocations: 243 kB / 320.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.00198, allocations: 3.938 kB / 320.8 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.00202, allocations: 7.922 kB / 320.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.002157, allocations: 11.94 kB / 320.8 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.002513, allocations: 115.5 kB / 321 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.002629, allocations: 47.84 kB / 321 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.002717, allocations: 19.92 kB / 321 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.002761, allocations: 23.97 kB / 321 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.002817, allocations: 11.92 kB / 321.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.002836, allocations: 4 kB / 321.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.002912, allocations: 39.97 kB / 321.1 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.002971, allocations: 27.91 kB / 321.1 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.002998, allocations: 19.92 kB / 321.1 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.003153, allocations: 99.66 kB / 321.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.003155, allocations: 3.938 kB / 321.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.003157, allocations: 0 / 321.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.00316, allocations: 0 / 321.2 MB, free: 4.191 MB / 282.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.0004139/0.003574, allocations: 302 kB / 321.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.003611, allocations: 12.03 kB / 321.6 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.00365, allocations: 12.84 kB / 321.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.003839, allocations: 145.5 kB / 321.7 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.00385, allocations: 8.312 kB / 321.7 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.00386, allocations: 4.375 kB / 321.7 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.00409, allocations: 145.6 kB / 321.9 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.004098, allocations: 192 / 321.9 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.004107, allocations: 384 / 321.9 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.004113, allocations: 4.375 kB / 321.9 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.004149, allocations: 23.86 kB / 321.9 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.004373, allocations: 213.5 kB / 322.1 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.049e-05/0.004444, allocations: 42.56 kB / 322.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.004469, allocations: 20.88 kB / 322.2 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.00473, allocations: 63.95 kB / 322.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.00475, allocations: 38.5 kB / 322.3 MB, free: 3.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.004751, allocations: 4 kB / 322.3 MB, free: 3.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001636/0.004915, allocations: 77.88 kB / 322.3 MB, free: 2.961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.00496, allocations: 63.34 kB / 322.4 MB, free: 2.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.005049, allocations: 149.1 kB / 322.5 MB, free: 2.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.005059, allocations: 25.7 kB / 322.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.0051, allocations: 92.14 kB / 322.7 MB, free: 2.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.005113, allocations: 15.81 kB / 322.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.00514, allocations: 21.66 kB / 322.7 MB, free: 2.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.005218, allocations: 318.8 kB / 323 MB, free: 2.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.005239, allocations: 15.98 kB / 323 MB, free: 2.227 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.005265, allocations: 38.56 kB / 323.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.005306, allocations: 42.56 kB / 323.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005308, allocations: 0 / 323.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.092e-05/0.005389, allocations: 81.56 kB / 323.2 MB, free: 2.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.005402, allocations: 15.88 kB / 323.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005406, allocations: 0 / 323.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.005418, allocations: 0 / 323.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.317e-05/0.005471, allocations: 16.08 kB / 323.2 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.005476, allocations: 4 kB / 323.2 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.005493, allocations: 4 kB / 323.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.005499, allocations: 4 kB / 323.2 MB, free: 2 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (6): * Single equations (assignments): 6 * 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.124e-05/0.00557, allocations: 121.8 kB / 323.3 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.005628, allocations: 77.52 kB / 323.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.005735, allocations: 86.53 kB / 323.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.005737, allocations: 0 / 323.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.005741, allocations: 0 / 323.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.005744, allocations: 128 / 323.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.811e-05/0.005802, allocations: 125.3 kB / 323.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.005806, allocations: 3.984 kB / 323.6 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.005832, allocations: 4 kB / 323.6 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.005834, allocations: 3.938 kB / 323.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.00584, allocations: 3.938 kB / 323.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.005843, allocations: 4 kB / 323.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005843, allocations: 0 / 323.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.549e-05/0.005919, allocations: 101 kB / 323.7 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.005949, allocations: 23.88 kB / 323.8 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.005965, allocations: 7.922 kB / 323.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.005977, allocations: 0 / 323.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-06/0.005979, allocations: 4 kB / 323.8 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.005987, allocations: 4 kB / 323.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.006035, allocations: 117.3 kB / 323.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006035, allocations: 0 / 323.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.006171, allocations: 12 kB / 323.9 MB, free: 1.242 MB / 282.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.000131/0.006302, allocations: 111.2 kB / 324 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.209e-05/0.006394, allocations: 43.92 kB / 324.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006396, allocations: 0 / 324.1 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.006396, allocations: 4.188 kB / 324.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.006655, allocations: 69.7 kB / 324.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.006906, allocations: 215.5 kB / 324.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.006965, allocations: 91.27 kB / 324.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.006984, allocations: 12.5 kB / 324.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006984, allocations: 0 / 324.4 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of Templates: time 0.001951/0.008936, allocations: 1.282 MB / 325.7 MB, free: 15.36 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9953224258497357]