Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01482/0.01482, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.001365/0.001365, allocations: 86.64 kB / 25.61 MB, free: 6.992 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.001904/0.001904, allocations: 167.1 kB / 29.46 MB, free: 3.191 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.9849/0.9849, allocations: 177.1 MB / 210.3 MB, free: 3.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6646/0.6646, allocations: 102.5 MB / 369.8 MB, free: 404 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 3.848e-06/3.848e-06, allocations: 3.422 kB / 469.9 MB, free: 19.07 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.879e-05, allocations: 3.719 kB / 469.9 MB, free: 19.07 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003685/0.003724, allocations: 2.189 MB / 472.1 MB, free: 17.61 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009565/0.004681, allocations: 412.6 kB / 472.5 MB, free: 17.36 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/0.004766, allocations: 4.688 kB / 472.5 MB, free: 17.36 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.004889, allocations: 7.875 kB / 472.5 MB, free: 17.35 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.996e-05/0.004949, allocations: 20.11 kB / 472.5 MB, free: 17.34 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.0056, allocations: 142.6 kB / 472.6 MB, free: 17.28 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.005759, allocations: 86.03 kB / 472.7 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.005867, allocations: 9.688 kB / 472.7 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 9.596e-05/0.005963, allocations: 44.88 kB / 472.8 MB, free: 17.22 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.006053, allocations: 33.47 kB / 472.8 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.006081, allocations: 8.938 kB / 472.8 MB, free: 17.21 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.00628, allocations: 81.7 kB / 472.9 MB, free: 17.19 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.006347, allocations: 28 kB / 472.9 MB, free: 17.17 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.006391, allocations: 24.08 kB / 472.9 MB, free: 17.16 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.006635, allocations: 126.8 kB / 473.1 MB, free: 17.11 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.00664, allocations: 3.188 kB / 473.1 MB, free: 17.11 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.006641, allocations: 0.7188 kB / 473.1 MB, free: 17.11 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.006647, allocations: 0 / 473.1 MB, free: 17.11 MB / 410.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.000598/0.007245, allocations: 436.3 kB / 473.5 MB, free: 16.7 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.007285, allocations: 10.64 kB / 473.5 MB, free: 16.7 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.007354, allocations: 14.92 kB / 473.5 MB, free: 16.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.007523, allocations: 136.3 kB / 473.7 MB, free: 16.55 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.976e-05/0.007593, allocations: 37.94 kB / 473.7 MB, free: 16.51 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.007621, allocations: 6.062 kB / 473.7 MB, free: 16.51 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.007843, allocations: 94.45 kB / 473.8 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.007853, allocations: 1.219 kB / 473.8 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.007866, allocations: 6.75 kB / 473.8 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.007875, allocations: 4.125 kB / 473.8 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.007986, allocations: 27.59 kB / 473.8 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.008451, allocations: 319.2 kB / 474.1 MB, free: 16.16 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.008581, allocations: 55.58 kB / 474.2 MB, free: 16.12 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.672e-05/0.008638, allocations: 21.88 kB / 474.2 MB, free: 16.11 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.008666, allocations: 8.016 kB / 474.2 MB, free: 16.1 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.008688, allocations: 46.89 kB / 474.3 MB, free: 16.05 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.008691, allocations: 0 / 474.3 MB, free: 16.05 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002962/0.008987, allocations: 96.27 kB / 474.4 MB, free: 16 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.009014, allocations: 51.41 kB / 474.4 MB, free: 15.94 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.009099, allocations: 188.8 kB / 474.6 MB, free: 15.77 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.00911, allocations: 25.7 kB / 474.6 MB, free: 15.74 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.009149, allocations: 145.4 kB / 474.8 MB, free: 15.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.009182, allocations: 28.44 kB / 474.8 MB, free: 15.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.009231, allocations: 30.62 kB / 474.8 MB, free: 15.55 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0004177/0.009649, allocations: 0.4902 MB / 475.3 MB, free: 31.05 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.009701, allocations: 19.5 kB / 475.3 MB, free: 31.04 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.905e-05/0.00974, allocations: 13.91 kB / 475.3 MB, free: 31.04 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.093e-05/0.009831, allocations: 46.8 kB / 475.4 MB, free: 31.02 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.009833, allocations: 5.219 kB / 475.4 MB, free: 31.02 MB / 426.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001629/0.009996, allocations: 88.7 kB / 475.5 MB, free: 30.96 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01001, allocations: 8.109 kB / 475.5 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01002, allocations: 1.188 kB / 475.5 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01003, allocations: 2.781 kB / 475.5 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.01031, allocations: 46.19 kB / 475.5 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01032, allocations: 3.375 kB / 475.5 MB, free: 30.96 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.01037, allocations: 21.02 kB / 475.6 MB, free: 30.95 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.01038, allocations: 0 / 475.6 MB, free: 30.95 MB / 426.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 8.578e-05/0.01046, allocations: 163.7 kB / 475.7 MB, free: 30.79 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.0105, allocations: 17.14 kB / 475.7 MB, free: 30.78 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.01054, allocations: 11.06 kB / 475.8 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01055, allocations: 0 / 475.8 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01055, allocations: 6.156 kB / 475.8 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01055, allocations: 0 / 475.8 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.0107, allocations: 143.3 kB / 475.9 MB, free: 30.62 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.0107, allocations: 0 / 475.9 MB, free: 30.62 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.01097, allocations: 43.31 kB / 475.9 MB, free: 30.62 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01097, allocations: 6.75 kB / 475.9 MB, free: 30.62 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.01099, allocations: 9.156 kB / 476 MB, free: 30.61 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01099, allocations: 1.844 kB / 476 MB, free: 30.61 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01099, allocations: 2.688 kB / 476 MB, free: 30.61 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.01127, allocations: 245.7 kB / 476.2 MB, free: 30.41 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.807e-05/0.01129, allocations: 14.3 kB / 476.2 MB, free: 30.4 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.01131, allocations: 4 kB / 476.2 MB, free: 30.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.01139, allocations: 10.3 kB / 476.2 MB, free: 30.4 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.01144, allocations: 5.891 kB / 476.2 MB, free: 30.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.01144, allocations: 4 kB / 476.2 MB, free: 30.39 MB / 426.8 MB Notification: Performance of sorting global known variables: time 6.286e-05/0.01151, allocations: 141.6 kB / 476.4 MB, free: 30.27 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01151, allocations: 0.7188 kB / 476.4 MB, free: 30.27 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000303/0.01181, allocations: 28.5 kB / 476.4 MB, free: 30.27 MB / 426.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.0002105/0.01202, allocations: 130.9 kB / 476.5 MB, free: 30.17 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01218, allocations: 55.03 kB / 476.6 MB, free: 30.15 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01218, allocations: 3.938 kB / 476.6 MB, free: 30.14 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.01223, allocations: 31.81 kB / 476.6 MB, free: 30.13 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01252, allocations: 15.19 kB / 476.6 MB, free: 30.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.01298, allocations: 203.1 kB / 476.8 MB, free: 29.96 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.926e-05/0.01301, allocations: 62.14 kB / 476.9 MB, free: 29.89 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.01308, allocations: 15.22 kB / 476.9 MB, free: 29.89 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.01312, allocations: 18.8 kB / 476.9 MB, free: 29.88 MB / 426.8 MB Notification: Performance of SimCode: time 8.92e-07/0.01312, allocations: 0 / 476.9 MB, free: 29.88 MB / 426.8 MB Notification: Performance of Templates: time 0.00426/0.01738, allocations: 1.478 MB / 478.4 MB, free: 29.78 MB / 426.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_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.669212135951966]