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.001669/0.001669, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 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.001886/0.001886, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 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 1.44/1.44, allocations: 173.4 MB / 201.1 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 178] 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 0.002679/0.002679, allocations: 47.73 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1232, allocations: 52.16 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002462/0.1257, allocations: 0.8888 MB / 372.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.1263, allocations: 243.1 kB / 372.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.1264, allocations: 0 / 372.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.1265, allocations: 11.88 kB / 372.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.1266, allocations: 15.92 kB / 372.7 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.127, allocations: 95.77 kB / 372.8 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1272, allocations: 51.78 kB / 372.9 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.1273, allocations: 8 kB / 372.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.1273, allocations: 23.91 kB / 372.9 MB, free: 6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.1274, allocations: 15.86 kB / 372.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1274, allocations: 4 kB / 372.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1275, allocations: 43.97 kB / 373 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1276, allocations: 19.92 kB / 373 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.1276, allocations: 23.86 kB / 373 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1278, allocations: 103.5 kB / 373.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1278, allocations: 0 / 373.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1278, allocations: 0 / 373.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1278, allocations: 4 kB / 373.1 MB, free: 5.789 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.0005412/0.1284, allocations: 309.9 kB / 373.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1284, allocations: 12.03 kB / 373.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1284, allocations: 12.84 kB / 373.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.1287, allocations: 138.4 kB / 373.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1287, allocations: 8.375 kB / 373.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1287, allocations: 384 / 373.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.129, allocations: 157.5 kB / 373.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1291, allocations: 192 / 373.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1291, allocations: 3.938 kB / 373.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1291, allocations: 4 kB / 373.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/0.1291, allocations: 23.94 kB / 373.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.1294, allocations: 209.5 kB / 374 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.17e-05/0.1295, allocations: 34.58 kB / 374 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.1295, allocations: 32.77 kB / 374 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/0.13, allocations: 59.94 kB / 374.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.13, allocations: 30.56 kB / 374.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.13, allocations: 3.938 kB / 374.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002081/0.1302, allocations: 89.61 kB / 374.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.1303, allocations: 63.36 kB / 374.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.1304, allocations: 141.8 kB / 374.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1304, allocations: 25.7 kB / 374.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.1305, allocations: 96 kB / 374.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1305, allocations: 11.95 kB / 374.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1305, allocations: 21.72 kB / 374.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1307, allocations: 322.8 kB / 374.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.511e-05/0.1307, allocations: 23.98 kB / 374.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.1308, allocations: 69.94 kB / 375 MB, free: 3.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1309, allocations: 77.94 kB / 375.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1309, allocations: 0 / 375.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001736/0.1311, allocations: 121.4 kB / 375.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1311, allocations: 4 kB / 375.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1311, allocations: 4 kB / 375.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1311, allocations: 0 / 375.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.1312, allocations: 19.98 kB / 375.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1312, allocations: 0 / 375.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.1312, allocations: 11.95 kB / 375.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1312, allocations: 4 kB / 375.2 MB, free: 3.453 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.0001186/0.1313, allocations: 137.9 kB / 375.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1315, allocations: 65.64 kB / 375.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.1316, allocations: 90.55 kB / 375.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.1316, allocations: 8.031 kB / 375.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1316, allocations: 0 / 375.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1316, allocations: 0 / 375.5 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.767e-05/0.1317, allocations: 113.2 kB / 375.6 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.1317, allocations: 11.92 kB / 375.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.1318, allocations: 4 kB / 375.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1318, allocations: 0 / 375.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1318, allocations: 8.188 kB / 375.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1318, allocations: 0 / 375.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1318, allocations: 3.938 kB / 375.6 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.1319, allocations: 89.08 kB / 375.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.132, allocations: 27.81 kB / 375.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.132, allocations: 11.98 kB / 375.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.132, allocations: 0 / 375.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-06/0.132, allocations: 0 / 375.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.132, allocations: 0 / 375.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.094e-05/0.1321, allocations: 115.2 kB / 375.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1321, allocations: 0 / 375.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1324, allocations: 27.94 kB / 375.9 MB, free: 2.68 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.0001622/0.1325, allocations: 107.2 kB / 376 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1327, allocations: 47.92 kB / 376.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1327, allocations: 0 / 376.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1327, allocations: 0 / 376.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.133, allocations: 78.14 kB / 376.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.1334, allocations: 197 kB / 376.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.081e-05/0.1335, allocations: 87.25 kB / 376.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.1335, allocations: 4 kB / 376.4 MB, free: 2.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.1335, allocations: 12.5 kB / 376.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1335, allocations: 0 / 376.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of Templates: time 0.004488/0.138, allocations: 1.436 MB / 377.9 MB, free: 0.6797 MB / 334.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/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: 4.232842758996412]