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.01792/0.01792, allocations: 1.447 MB / 20.8 MB, free: 3.594 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.005834/0.005834, allocations: 77.55 kB / 24.44 MB, free: 7.562 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.00147/0.00147, allocations: 172 kB / 28.2 MB, free: 4.664 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 1.46/1.46, allocations: 177.1 MB / 209 MB, free: 2.824 MB / 186.7 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.06/1.06, allocations: 102.5 MB / 368.3 MB, free: 1.266 MB / 330.8 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.5.2 (/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 1.984e-06/1.984e-06, allocations: 0 / 468.3 MB, free: 13.49 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.433e-05, allocations: 8.922 kB / 468.3 MB, free: 13.48 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.004023/0.004057, allocations: 2.116 MB / 470.4 MB, free: 11.35 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.005146, allocations: 414.5 kB / 470.8 MB, free: 10.95 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.005235, allocations: 0 / 470.8 MB, free: 10.95 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.005371, allocations: 11.88 kB / 470.8 MB, free: 10.93 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 6.678e-05/0.005438, allocations: 7.875 kB / 470.9 MB, free: 10.93 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.006155, allocations: 147.5 kB / 471 MB, free: 10.78 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.006376, allocations: 91.7 kB / 471.1 MB, free: 10.69 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.006486, allocations: 8 kB / 471.1 MB, free: 10.68 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.006634, allocations: 43.89 kB / 471.1 MB, free: 10.64 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.006737, allocations: 35.89 kB / 471.2 MB, free: 10.61 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.006769, allocations: 11.98 kB / 471.2 MB, free: 10.59 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.007007, allocations: 79.81 kB / 471.3 MB, free: 10.52 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.007104, allocations: 27.91 kB / 471.3 MB, free: 10.49 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 6.969e-05/0.007173, allocations: 23.97 kB / 471.3 MB, free: 10.46 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.007512, allocations: 143.6 kB / 471.5 MB, free: 10.32 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.007516, allocations: 0 / 471.5 MB, free: 10.32 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007517, allocations: 0 / 471.5 MB, free: 10.32 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.007523, allocations: 7.938 kB / 471.5 MB, free: 10.32 MB / 442.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.0008675/0.008391, allocations: 353.8 kB / 471.8 MB, free: 9.938 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.00843, allocations: 8.031 kB / 471.8 MB, free: 9.93 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.008506, allocations: 16.89 kB / 471.8 MB, free: 9.914 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.008727, allocations: 129.7 kB / 472 MB, free: 9.762 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/0.008813, allocations: 42.2 kB / 472 MB, free: 9.715 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.00885, allocations: 4.375 kB / 472 MB, free: 9.711 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.009228, allocations: 110.2 kB / 472.1 MB, free: 9.598 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.009237, allocations: 192 / 472.1 MB, free: 9.598 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.009254, allocations: 4.375 kB / 472.1 MB, free: 9.594 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.009262, allocations: 4.125 kB / 472.1 MB, free: 9.59 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.00967, allocations: 99.89 kB / 472.2 MB, free: 9.492 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.01035, allocations: 288.4 kB / 472.5 MB, free: 9.18 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.01068, allocations: 98.55 kB / 472.6 MB, free: 9.074 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.01091, allocations: 65.02 kB / 472.7 MB, free: 9.008 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.01095, allocations: 11.88 kB / 472.7 MB, free: 8.996 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.01099, allocations: 34.56 kB / 472.7 MB, free: 8.953 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.01099, allocations: 0 / 472.7 MB, free: 8.953 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0008709/0.01186, allocations: 221.4 kB / 472.9 MB, free: 8.73 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.01192, allocations: 51.41 kB / 473 MB, free: 8.668 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.01208, allocations: 132.4 kB / 473.1 MB, free: 8.531 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.01211, allocations: 29.7 kB / 473.1 MB, free: 8.496 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.01219, allocations: 96.03 kB / 473.2 MB, free: 8.398 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.01225, allocations: 35.72 kB / 473.3 MB, free: 8.363 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.01231, allocations: 21.72 kB / 473.3 MB, free: 8.336 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003533/0.01267, allocations: 322.8 kB / 473.6 MB, free: 8.012 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.0129, allocations: 59.94 kB / 473.7 MB, free: 7.953 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.01312, allocations: 59.95 kB / 473.7 MB, free: 7.895 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.01356, allocations: 132.7 kB / 473.8 MB, free: 7.762 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01356, allocations: 0 / 473.8 MB, free: 7.762 MB / 442.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000546/0.01411, allocations: 181.4 kB / 474 MB, free: 7.578 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.01413, allocations: 8 kB / 474 MB, free: 7.57 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.01414, allocations: 0 / 474 MB, free: 7.57 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.01416, allocations: 0 / 474 MB, free: 7.57 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.01464, allocations: 63.92 kB / 474.1 MB, free: 7.508 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01464, allocations: 0 / 474.1 MB, free: 7.508 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.01476, allocations: 19.98 kB / 474.1 MB, free: 7.488 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.01478, allocations: 3.984 kB / 474.1 MB, free: 7.484 MB / 442.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 0.0001414/0.01492, allocations: 113.8 kB / 474.2 MB, free: 7.363 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.01497, allocations: 19.89 kB / 474.2 MB, free: 7.344 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.563e-05/0.01504, allocations: 12.42 kB / 474.3 MB, free: 7.328 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01504, allocations: 0 / 474.3 MB, free: 7.328 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01505, allocations: 4 kB / 474.3 MB, free: 7.324 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01505, allocations: 3.938 kB / 474.3 MB, free: 7.32 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.01528, allocations: 137.2 kB / 474.4 MB, free: 7.156 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01528, allocations: 4 kB / 474.4 MB, free: 7.152 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.01579, allocations: 63.92 kB / 474.5 MB, free: 7.09 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.0158, allocations: 3.938 kB / 474.5 MB, free: 7.086 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.01581, allocations: 0 / 474.5 MB, free: 7.086 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.01582, allocations: 3.984 kB / 474.5 MB, free: 7.082 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01582, allocations: 0 / 474.5 MB, free: 7.082 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.01669, allocations: 339.3 kB / 474.8 MB, free: 6.734 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.01672, allocations: 11.89 kB / 474.8 MB, free: 6.723 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.01675, allocations: 11.97 kB / 474.8 MB, free: 6.711 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.01691, allocations: 15.97 kB / 474.8 MB, free: 6.695 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.01697, allocations: 3.984 kB / 474.8 MB, free: 6.691 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01698, allocations: 12.06 kB / 474.9 MB, free: 6.68 MB / 442.8 MB Notification: Performance of sorting global known variables: time 9.168e-05/0.01708, allocations: 99.2 kB / 475 MB, free: 6.582 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01708, allocations: 0 / 475 MB, free: 6.582 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0003186/0.01739, allocations: 28 kB / 475 MB, free: 6.555 MB / 442.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.0002696/0.01766, allocations: 123.2 kB / 475.1 MB, free: 6.426 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0005359/0.0182, allocations: 132.1 kB / 475.2 MB, free: 6.297 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.0182, allocations: 0 / 475.2 MB, free: 6.297 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.01844, allocations: 67.94 kB / 475.3 MB, free: 6.23 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.01881, allocations: 10.38 kB / 475.3 MB, free: 6.223 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.0194, allocations: 220.6 kB / 475.5 MB, free: 5.98 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.0195, allocations: 91.25 kB / 475.6 MB, free: 5.871 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.01957, allocations: 11.98 kB / 475.6 MB, free: 5.859 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.01964, allocations: 16.5 kB / 475.6 MB, free: 5.844 MB / 442.8 MB Notification: Performance of SimCode: time 6.31e-07/0.01964, allocations: 0 / 475.6 MB, free: 5.844 MB / 442.8 MB Notification: Performance of Templates: time 0.005488/0.02513, allocations: 1.47 MB / 477.1 MB, free: 4.391 MB / 442.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=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.58015095803421]