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.0149/0.0149, allocations: 1.348 MB / 20.45 MB, free: 1.25 MB / 14.72 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.001442/0.001442, allocations: 78.62 kB / 24.02 MB, free: 2.586 MB / 14.72 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.001718/0.001718, allocations: 153.9 kB / 27.71 MB, free: 3.844 MB / 19.63 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 1.485/1.485, allocations: 177.2 MB / 208.4 MB, free: 7.68 MB / 190.1 MB " [Timeout remaining time 178] 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 1.059/1.059, allocations: 102.5 MB / 367.8 MB, free: 4.594 MB / 334.1 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 0.3.1 (/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 2.174e-06/2.174e-06, allocations: 0 / 0.5365 GB, free: 7.145 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.658e-05/3.875e-05, allocations: 4.344 kB / 0.5365 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.0031/0.003138, allocations: 2.115 MB / 0.5385 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008256/0.003964, allocations: 418.2 kB / 0.5389 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.004029, allocations: 3.938 kB / 0.5389 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.00417, allocations: 5 kB / 0.5389 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.004216, allocations: 17.39 kB / 0.539 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.004739, allocations: 145 kB / 0.5391 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.004865, allocations: 88.72 kB / 0.5392 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.548e-05/0.00496, allocations: 7.812 kB / 0.5392 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.919e-05/0.005039, allocations: 44.27 kB / 0.5392 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.55e-05/0.005115, allocations: 34.77 kB / 0.5393 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.005138, allocations: 7.344 kB / 0.5393 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.005315, allocations: 77.61 kB / 0.5393 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.005375, allocations: 24.69 kB / 0.5394 GB, free: 4.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.005413, allocations: 27.48 kB / 0.5394 GB, free: 4.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.005617, allocations: 153.3 kB / 0.5395 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.00562, allocations: 1.219 kB / 0.5395 GB, free: 4.805 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005621, allocations: 0 / 0.5395 GB, free: 4.805 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005625, allocations: 3.984 kB / 0.5395 GB, free: 4.801 MB / 446.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.000613/0.006238, allocations: 340 kB / 0.5399 GB, free: 4.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.006277, allocations: 9.531 kB / 0.5399 GB, free: 4.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.006332, allocations: 9.453 kB / 0.5399 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.0065, allocations: 140.8 kB / 0.54 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.006555, allocations: 33.7 kB / 0.54 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.00658, allocations: 5.031 kB / 0.5401 GB, free: 4.289 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.00689, allocations: 115.3 kB / 0.5402 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.006899, allocations: 192 / 0.5402 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.006914, allocations: 9.969 kB / 0.5402 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.006919, allocations: 8.125 kB / 0.5402 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.007291, allocations: 104.1 kB / 0.5403 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.007803, allocations: 284 kB / 0.5406 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.008099, allocations: 102.9 kB / 0.5406 GB, free: 3.824 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.008302, allocations: 68.78 kB / 0.5407 GB, free: 3.785 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.008333, allocations: 5.438 kB / 0.5407 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.008349, allocations: 31.78 kB / 0.5407 GB, free: 3.742 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.008351, allocations: 0 / 0.5407 GB, free: 3.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000735/0.009086, allocations: 227.2 kB / 0.541 GB, free: 3.617 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.009116, allocations: 56.84 kB / 0.541 GB, free: 3.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.009201, allocations: 126.4 kB / 0.5411 GB, free: 3.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.009217, allocations: 29.7 kB / 0.5412 GB, free: 3.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.00926, allocations: 92.53 kB / 0.5413 GB, free: 3.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.009291, allocations: 30.64 kB / 0.5413 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.009338, allocations: 29.73 kB / 0.5413 GB, free: 3.258 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.009383, allocations: 317.2 kB / 0.5416 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.009586, allocations: 63.81 kB / 0.5417 GB, free: 2.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.009774, allocations: 53.77 kB / 0.5417 GB, free: 2.891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.01016, allocations: 129.2 kB / 0.5419 GB, free: 2.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01016, allocations: 0 / 0.5419 GB, free: 2.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004384/0.0106, allocations: 177 kB / 0.542 GB, free: 2.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01062, allocations: 6.031 kB / 0.542 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01062, allocations: 96 / 0.542 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.01064, allocations: 5.062 kB / 0.542 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.01111, allocations: 73.05 kB / 0.5421 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01112, allocations: 1.438 kB / 0.5421 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01122, allocations: 15.8 kB / 0.5421 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.01124, allocations: 7.453 kB / 0.5421 GB, free: 2.684 MB / 446.1 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 7.081e-05/0.01131, allocations: 113.3 kB / 0.5422 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.01134, allocations: 12.36 kB / 0.5422 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.01139, allocations: 10.69 kB / 0.5423 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01139, allocations: 1.125 kB / 0.5423 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.0114, allocations: 4 kB / 0.5423 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.0114, allocations: 3.984 kB / 0.5423 GB, free: 2.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.01154, allocations: 133.5 kB / 0.5424 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01154, allocations: 0 / 0.5424 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005868/0.01213, allocations: 63.55 kB / 0.5425 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01213, allocations: 5.141 kB / 0.5425 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.01215, allocations: 17.05 kB / 0.5425 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.01215, allocations: 3.938 kB / 0.5425 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01215, allocations: 1.125 kB / 0.5425 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.01285, allocations: 322.4 kB / 0.5428 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.01286, allocations: 15.61 kB / 0.5428 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.01289, allocations: 5.375 kB / 0.5428 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.01304, allocations: 19.84 kB / 0.5428 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.01309, allocations: 10.48 kB / 0.5428 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.0131, allocations: 2.938 kB / 0.5428 GB, free: 2.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.868e-05/0.01315, allocations: 95.7 kB / 0.5429 GB, free: 2.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01315, allocations: 0 / 0.5429 GB, free: 2.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.01345, allocations: 33 kB / 0.543 GB, free: 2.012 MB / 446.1 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.0001852/0.01363, allocations: 125 kB / 0.5431 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004667/0.0141, allocations: 135 kB / 0.5432 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0141, allocations: 0 / 0.5432 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.01431, allocations: 69.22 kB / 0.5433 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.01461, allocations: 8 kB / 0.5433 GB, free: 1.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.01505, allocations: 211.7 kB / 0.5435 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.027e-05/0.01512, allocations: 81.75 kB / 0.5436 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.01517, allocations: 12.95 kB / 0.5436 GB, free: 1.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.01522, allocations: 18.38 kB / 0.5436 GB, free: 1.539 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01522, allocations: 7.938 kB / 0.5436 GB, free: 1.531 MB / 446.1 MB Notification: Performance of Templates: time 0.004212/0.01943, allocations: 1.454 MB / 0.545 GB, free: 204 kB / 446.1 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=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.813590344041586]