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.01739/0.01739, allocations: 1.745 MB / 21.38 MB, free: 480 kB / 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.001219/0.001219, allocations: 98.39 kB / 24.96 MB, free: 2.059 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.001509/0.001509, allocations: 210.9 kB / 28.68 MB, free: 3.348 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.418/1.418, allocations: 230.6 MB / 262.9 MB, free: 5.828 MB / 206.1 MB " [Timeout remaining time 178] 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 1.05/1.05, allocations: 130.7 MB / 450.4 MB, free: 6.391 MB / 350.1 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 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_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: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06324/0.06324, allocations: 20.6 MB / 0.6367 GB, free: 4.574 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.2486, allocations: 81.91 MB / 0.7167 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.004087/0.2527, allocations: 2.115 MB / 0.7187 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009957/0.2537, allocations: 410.6 kB / 0.7191 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.2537, allocations: 0 / 0.7191 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.2539, allocations: 11.88 kB / 0.7192 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.2539, allocations: 7.875 kB / 0.7192 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007055/0.2546, allocations: 139.8 kB / 0.7193 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.2548, allocations: 87.69 kB / 0.7194 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2549, allocations: 4 kB / 0.7194 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.255, allocations: 39.92 kB / 0.7194 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.2551, allocations: 39.81 kB / 0.7195 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.2551, allocations: 8 kB / 0.7195 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.2554, allocations: 83.88 kB / 0.7195 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.2555, allocations: 23.91 kB / 0.7196 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.2555, allocations: 31.8 kB / 0.7196 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.2558, allocations: 135.3 kB / 0.7197 GB, free: 15.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2558, allocations: 4 kB / 0.7197 GB, free: 15.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2558, allocations: 0 / 0.7197 GB, free: 15.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.2558, allocations: 0 / 0.7197 GB, free: 15.45 MB / 0.545 GB 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.0008062/0.2566, allocations: 341.9 kB / 0.7201 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2567, allocations: 12.03 kB / 0.7201 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.2567, allocations: 8.891 kB / 0.7201 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.257, allocations: 142.3 kB / 0.7202 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.257, allocations: 30.27 kB / 0.7202 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.2571, allocations: 8.375 kB / 0.7202 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.2574, allocations: 114.1 kB / 0.7204 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2574, allocations: 3.938 kB / 0.7204 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.2574, allocations: 7.984 kB / 0.7204 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.2574, allocations: 0 / 0.7204 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.2578, allocations: 99.89 kB / 0.7205 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.2584, allocations: 296.2 kB / 0.7207 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.2587, allocations: 98.55 kB / 0.7208 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.2589, allocations: 72.91 kB / 0.7209 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.2589, allocations: 0 / 0.7209 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.259, allocations: 38.5 kB / 0.7209 GB, free: 14.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.259, allocations: 4 kB / 0.721 GB, free: 14.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0007117/0.2597, allocations: 213.5 kB / 0.7212 GB, free: 13.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2597, allocations: 51.41 kB / 0.7212 GB, free: 13.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2599, allocations: 133.8 kB / 0.7213 GB, free: 13.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.2599, allocations: 25.7 kB / 0.7214 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.725e-05/0.26, allocations: 100.1 kB / 0.7215 GB, free: 13.53 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.26, allocations: 31.73 kB / 0.7215 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.2601, allocations: 25.7 kB / 0.7215 GB, free: 13.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2602, allocations: 322.8 kB / 0.7218 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.2604, allocations: 59.94 kB / 0.7219 GB, free: 13.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.2606, allocations: 63.88 kB / 0.7219 GB, free: 13.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.261, allocations: 133 kB / 0.7221 GB, free: 12.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.261, allocations: 3.938 kB / 0.7221 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004534/0.2614, allocations: 169.5 kB / 0.7222 GB, free: 12.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.2615, allocations: 8 kB / 0.7222 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2615, allocations: 4 kB / 0.7222 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2615, allocations: 0 / 0.7222 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.2619, allocations: 63.92 kB / 0.7223 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2619, allocations: 0 / 0.7223 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.262, allocations: 19.97 kB / 0.7223 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.2621, allocations: 4 kB / 0.7223 GB, free: 12.62 MB / 0.545 GB 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.0001104/0.2622, allocations: 125.7 kB / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.2622, allocations: 7.953 kB / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.2623, allocations: 16.36 kB / 0.7225 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2623, allocations: 0 / 0.7225 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2623, allocations: 0 / 0.7225 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2623, allocations: 0 / 0.7225 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.2625, allocations: 137.1 kB / 0.7226 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2625, allocations: 0 / 0.7226 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.2629, allocations: 71.92 kB / 0.7227 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2629, allocations: 0 / 0.7227 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.263, allocations: 4 kB / 0.7227 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.263, allocations: 0 / 0.7227 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.263, allocations: 0 / 0.7227 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007404/0.2637, allocations: 339.5 kB / 0.723 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.2637, allocations: 7.984 kB / 0.723 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.2637, allocations: 0 / 0.723 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.2639, allocations: 19.97 kB / 0.723 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.2639, allocations: 7.984 kB / 0.723 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2639, allocations: 0 / 0.723 GB, free: 11.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.906e-05/0.264, allocations: 110 kB / 0.7231 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.264, allocations: 0 / 0.7231 GB, free: 11.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003012/0.2643, allocations: 35.94 kB / 0.7232 GB, free: 11.7 MB / 0.545 GB 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.0002065/0.2645, allocations: 115.3 kB / 0.7233 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.265, allocations: 147.8 kB / 0.7234 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.265, allocations: 3.938 kB / 0.7234 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.2652, allocations: 59.95 kB / 0.7235 GB, free: 11.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.2656, allocations: 19.88 kB / 0.7235 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.2662, allocations: 227.1 kB / 0.7237 GB, free: 11.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.754e-05/0.2662, allocations: 75.89 kB / 0.7238 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.237e-05/0.2663, allocations: 19.98 kB / 0.7238 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.2664, allocations: 11.44 kB / 0.7238 GB, free: 10.97 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2664, allocations: 0 / 0.7238 GB, free: 10.97 MB / 0.545 GB Notification: Performance of Templates: time 0.004699/0.2711, allocations: 1.508 MB / 0.7253 GB, free: 9.488 MB / 0.545 GB " [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=800 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_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.9046137139666826]