Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01328/0.01328, allocations: 1.788 MB / 21.65 MB, free: 2.82 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 87.34 kB / 25.49 MB, free: 6.406 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 165.6 kB / 28.89 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8732/0.8732, allocations: 177.2 MB / 209.3 MB, free: 2.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7125/0.7125, allocations: 102.4 MB / 368.3 MB, free: 0.7695 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|noise.y|noise.y_",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|noise.y|noise.y_",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 415 MB, free: 2.23 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.565e-05, allocations: 2.312 kB / 415 MB, free: 2.227 MB / 378.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002107/0.002123, allocations: 2.188 MB / 417.2 MB, free: 24 kB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006139/0.002737, allocations: 434.3 kB / 417.7 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.002786, allocations: 0 / 417.7 MB, free: 15.6 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 9.849e-05/0.002885, allocations: 3.938 kB / 417.7 MB, free: 15.59 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.002927, allocations: 15.86 kB / 417.7 MB, free: 15.58 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.003345, allocations: 147.5 kB / 417.8 MB, free: 15.43 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.003456, allocations: 87.69 kB / 417.9 MB, free: 15.35 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.768e-05/0.003523, allocations: 8 kB / 417.9 MB, free: 15.34 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.721e-05/0.003591, allocations: 39.91 kB / 418 MB, free: 15.3 MB / 394.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.003649, allocations: 35.94 kB / 418 MB, free: 15.27 MB / 394.8 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.003666, allocations: 12 kB / 418 MB, free: 15.25 MB / 394.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.003809, allocations: 83.8 kB / 418.1 MB, free: 15.17 MB / 394.8 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.003862, allocations: 27.97 kB / 418.1 MB, free: 15.14 MB / 394.8 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.003889, allocations: 19.92 kB / 418.1 MB, free: 15.12 MB / 394.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.004045, allocations: 131.6 kB / 418.3 MB, free: 15 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.004046, allocations: 0 / 418.3 MB, free: 15 MB / 394.8 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004047, allocations: 0 / 418.3 MB, free: 15 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.00405, allocations: 0 / 418.3 MB, free: 15 MB / 394.8 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.0003647/0.004414, allocations: 308.5 kB / 418.6 MB, free: 14.67 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.004443, allocations: 15.97 kB / 418.6 MB, free: 14.65 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.004472, allocations: 12.92 kB / 418.6 MB, free: 14.64 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.004592, allocations: 137.6 kB / 418.7 MB, free: 14.48 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.00463, allocations: 30.27 kB / 418.8 MB, free: 14.45 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.004647, allocations: 8.375 kB / 418.8 MB, free: 14.44 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.004778, allocations: 85.73 kB / 418.8 MB, free: 14.34 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-06/0.004783, allocations: 192 / 418.8 MB, free: 14.34 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.00479, allocations: 384 / 418.8 MB, free: 14.34 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004795, allocations: 4.125 kB / 418.8 MB, free: 14.34 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.756e-05/0.004852, allocations: 31.91 kB / 418.9 MB, free: 14.31 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.005102, allocations: 209.8 kB / 419.1 MB, free: 14.09 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.005178, allocations: 81.31 kB / 419.2 MB, free: 14 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.005205, allocations: 20.84 kB / 419.2 MB, free: 13.97 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.005221, allocations: 0 / 419.2 MB, free: 13.97 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.005236, allocations: 34.56 kB / 419.2 MB, free: 13.93 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.005237, allocations: 3.938 kB / 419.2 MB, free: 13.93 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001297/0.005367, allocations: 73.72 kB / 419.3 MB, free: 13.85 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.005391, allocations: 55.34 kB / 419.3 MB, free: 13.78 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.201e-05/0.005453, allocations: 140.1 kB / 419.5 MB, free: 13.63 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.005464, allocations: 25.7 kB / 419.5 MB, free: 13.6 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.005494, allocations: 92.11 kB / 419.6 MB, free: 13.51 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.005519, allocations: 31.73 kB / 419.6 MB, free: 13.48 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.005553, allocations: 25.7 kB / 419.7 MB, free: 13.45 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.005625, allocations: 322.8 kB / 420 MB, free: 13.12 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.005648, allocations: 10.83 kB / 420 MB, free: 13.11 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.005669, allocations: 15.88 kB / 420 MB, free: 13.09 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.279e-05/0.005722, allocations: 46.47 kB / 420 MB, free: 13.04 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005723, allocations: 0 / 420 MB, free: 13.04 MB / 394.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.716e-05/0.005801, allocations: 69.61 kB / 420.1 MB, free: 12.97 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.005811, allocations: 11.94 kB / 420.1 MB, free: 12.96 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.005814, allocations: 4 kB / 420.1 MB, free: 12.95 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.005823, allocations: 0 / 420.1 MB, free: 12.95 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.005991, allocations: 47.95 kB / 420.2 MB, free: 12.91 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005994, allocations: 0 / 420.2 MB, free: 12.91 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.006025, allocations: 11.94 kB / 420.2 MB, free: 12.89 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.006031, allocations: 4 kB / 420.2 MB, free: 12.89 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 5.608e-05/0.006087, allocations: 116.7 kB / 420.3 MB, free: 12.77 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.006104, allocations: 7.938 kB / 420.3 MB, free: 12.76 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.006138, allocations: 20.42 kB / 420.3 MB, free: 12.74 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.006139, allocations: 0 / 420.3 MB, free: 12.74 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.00614, allocations: 3.938 kB / 420.3 MB, free: 12.73 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006144, allocations: 3.984 kB / 420.3 MB, free: 12.73 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.164e-05/0.006236, allocations: 81.88 kB / 420.4 MB, free: 12.63 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006237, allocations: 0 / 420.4 MB, free: 12.63 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.0064, allocations: 51.95 kB / 420.5 MB, free: 12.58 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006402, allocations: 0 / 420.5 MB, free: 12.58 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.006412, allocations: 4 kB / 420.5 MB, free: 12.58 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.006414, allocations: 3.938 kB / 420.5 MB, free: 12.57 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.006416, allocations: 3.984 kB / 420.5 MB, free: 12.57 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.006567, allocations: 218.2 kB / 420.7 MB, free: 12.34 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.006578, allocations: 19.81 kB / 420.7 MB, free: 12.32 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.006589, allocations: 0 / 420.7 MB, free: 12.32 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.006635, allocations: 11.94 kB / 420.7 MB, free: 12.31 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.006663, allocations: 11.92 kB / 420.7 MB, free: 12.3 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.006669, allocations: 12.02 kB / 420.7 MB, free: 12.29 MB / 394.8 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.006687, allocations: 19.23 kB / 420.8 MB, free: 12.27 MB / 394.8 MB Notification: Performance of sort global known variables: time 4e-08/0.006687, allocations: 0 / 420.8 MB, free: 12.27 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.000159/0.006846, allocations: 43.88 kB / 420.8 MB, free: 12.22 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (noise.y_,noise.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0001146/0.00696, allocations: 96.41 kB / 420.9 MB, free: 12.12 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.007042, allocations: 48.77 kB / 421 MB, free: 12.07 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007044, allocations: 0 / 421 MB, free: 12.07 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.007074, allocations: 25.23 kB / 421 MB, free: 12.04 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.007202, allocations: 14.5 kB / 421 MB, free: 12.03 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.007484, allocations: 222.1 kB / 421.2 MB, free: 11.78 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.2e-05/0.007516, allocations: 63.34 kB / 421.3 MB, free: 11.7 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 3.006e-05/0.007546, allocations: 4 kB / 421.3 MB, free: 11.7 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.0076, allocations: 59.36 kB / 421.3 MB, free: 11.64 MB / 394.8 MB Notification: Performance of SimCode: time 7.21e-07/0.007601, allocations: 3.938 kB / 421.3 MB, free: 11.63 MB / 394.8 MB Notification: Performance of Templates: time 0.002858/0.01046, allocations: 1.488 MB / 422.8 MB, free: 10.15 MB / 394.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2881604060530663]