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.01357/0.01357, allocations: 1.794 MB / 21.35 MB, free: 3.195 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.0007617/0.0007617, allocations: 80.11 kB / 25.15 MB, free: 6.375 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.0008463/0.0008463, allocations: 164 kB / 29.06 MB, free: 3.379 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.9188/0.9188, allocations: 177.2 MB / 210 MB, free: 3.59 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.6125/0.6125, allocations: 102.5 MB / 369.5 MB, free: 416 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 1.232e-06/1.232e-06, allocations: 0 / 470 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.525e-05/1.648e-05, allocations: 2.859 kB / 470 MB, free: 18.96 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.001768/0.001784, allocations: 2.183 MB / 472.2 MB, free: 17.52 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005096/0.002294, allocations: 418.3 kB / 472.6 MB, free: 17.26 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.002338, allocations: 0.5625 kB / 472.6 MB, free: 17.26 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.449e-05/0.002432, allocations: 15.19 kB / 472.6 MB, free: 17.25 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.002468, allocations: 12.62 kB / 472.6 MB, free: 17.24 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.002851, allocations: 144.9 kB / 472.7 MB, free: 17.18 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.002951, allocations: 80.17 kB / 472.8 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.00303, allocations: 11.28 kB / 472.8 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 6.231e-05/0.003092, allocations: 51.22 kB / 472.9 MB, free: 17.12 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.003148, allocations: 33.17 kB / 472.9 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.003164, allocations: 8.625 kB / 472.9 MB, free: 17.11 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.003298, allocations: 80.81 kB / 473 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.003348, allocations: 24.77 kB / 473 MB, free: 17.07 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.003378, allocations: 27.2 kB / 473 MB, free: 17.06 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.003538, allocations: 130.8 kB / 473.2 MB, free: 17 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00354, allocations: 0 / 473.2 MB, free: 17 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00354, allocations: 0 / 473.2 MB, free: 17 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.003544, allocations: 3.594 kB / 473.2 MB, free: 17 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.0003916/0.003935, allocations: 438.3 kB / 473.6 MB, free: 16.59 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.003969, allocations: 8.531 kB / 473.6 MB, free: 16.59 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.004011, allocations: 13.98 kB / 473.6 MB, free: 16.59 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.004127, allocations: 134.5 kB / 473.8 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.004171, allocations: 32.55 kB / 473.8 MB, free: 16.41 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.004192, allocations: 8.781 kB / 473.8 MB, free: 16.41 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.004332, allocations: 97.69 kB / 473.9 MB, free: 16.35 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-06/0.004338, allocations: 0.6875 kB / 473.9 MB, free: 16.35 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004348, allocations: 7.25 kB / 473.9 MB, free: 16.35 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.004354, allocations: 4.812 kB / 473.9 MB, free: 16.34 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.004425, allocations: 28.14 kB / 473.9 MB, free: 16.34 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.004718, allocations: 321.9 kB / 474.2 MB, free: 16.05 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.004796, allocations: 58.06 kB / 474.3 MB, free: 16.01 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.00483, allocations: 24.5 kB / 474.3 MB, free: 16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.004854, allocations: 10.27 kB / 474.3 MB, free: 15.99 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.004866, allocations: 33.39 kB / 474.4 MB, free: 15.95 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.004866, allocations: 0.8438 kB / 474.4 MB, free: 15.95 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001836/0.00505, allocations: 96.14 kB / 474.5 MB, free: 15.9 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.459e-05/0.005065, allocations: 55.12 kB / 474.5 MB, free: 15.84 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.377e-05/0.005118, allocations: 186.6 kB / 474.7 MB, free: 15.66 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.005125, allocations: 26.64 kB / 474.7 MB, free: 15.63 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.005277, allocations: 148 kB / 474.9 MB, free: 31.49 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.005299, allocations: 28.77 kB / 474.9 MB, free: 31.47 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.005331, allocations: 30.62 kB / 474.9 MB, free: 31.44 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.005436, allocations: 0.4901 MB / 475.4 MB, free: 30.95 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.272e-05/0.005468, allocations: 14.78 kB / 475.4 MB, free: 30.94 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.73e-05/0.005496, allocations: 13.78 kB / 475.4 MB, free: 30.94 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.005555, allocations: 50.69 kB / 475.5 MB, free: 30.91 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005557, allocations: 3.938 kB / 475.5 MB, free: 30.91 MB / 426.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.373e-05/0.005651, allocations: 88.94 kB / 475.6 MB, free: 30.86 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.005661, allocations: 8.562 kB / 475.6 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005666, allocations: 3.422 kB / 475.6 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.00568, allocations: 0 / 475.6 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.005881, allocations: 47.56 kB / 475.6 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.005886, allocations: 2.625 kB / 475.6 MB, free: 30.86 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.00592, allocations: 21.83 kB / 475.7 MB, free: 30.85 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.005927, allocations: 2.625 kB / 475.7 MB, free: 30.85 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 5.967e-05/0.005987, allocations: 160.5 kB / 475.8 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.006007, allocations: 13.14 kB / 475.8 MB, free: 30.68 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.006041, allocations: 11.81 kB / 475.9 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006043, allocations: 3.875 kB / 475.9 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.006046, allocations: 0 / 475.9 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006049, allocations: 0 / 475.9 MB, free: 30.67 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.561e-05/0.006135, allocations: 138 kB / 476 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006136, allocations: 0 / 476 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.006316, allocations: 58.97 kB / 476 MB, free: 30.52 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.006319, allocations: 6.562 kB / 476.1 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.00633, allocations: 0 / 476.1 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006331, allocations: 0 / 476.1 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006332, allocations: 2.625 kB / 476.1 MB, free: 30.51 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.006518, allocations: 241.4 kB / 476.3 MB, free: 30.31 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.006527, allocations: 10.52 kB / 476.3 MB, free: 30.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.006541, allocations: 4 kB / 476.3 MB, free: 30.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.00659, allocations: 13.36 kB / 476.3 MB, free: 30.3 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.006626, allocations: 13.89 kB / 476.3 MB, free: 30.29 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.00663, allocations: 3.688 kB / 476.3 MB, free: 30.29 MB / 426.8 MB Notification: Performance of sorting global known variables: time 4.44e-05/0.006675, allocations: 143.6 kB / 476.5 MB, free: 30.17 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006675, allocations: 0 / 476.5 MB, free: 30.17 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001728/0.006848, allocations: 32.22 kB / 476.5 MB, free: 30.16 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.0001187/0.006966, allocations: 129.6 kB / 476.6 MB, free: 30.06 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.007075, allocations: 50.78 kB / 476.7 MB, free: 30.05 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.007077, allocations: 7.875 kB / 476.7 MB, free: 30.04 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.007121, allocations: 31.89 kB / 476.7 MB, free: 30.02 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.007321, allocations: 15.06 kB / 476.7 MB, free: 30.02 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.007663, allocations: 196.2 kB / 476.9 MB, free: 29.86 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.305e-05/0.007696, allocations: 63.73 kB / 477 MB, free: 29.79 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.912e-05/0.007736, allocations: 12.38 kB / 477 MB, free: 29.79 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.007771, allocations: 21.72 kB / 477 MB, free: 29.78 MB / 426.8 MB Notification: Performance of SimCode: time 5.61e-07/0.007772, allocations: 0 / 477 MB, free: 29.78 MB / 426.8 MB Notification: Performance of Templates: time 0.002956/0.01073, allocations: 1.478 MB / 478.5 MB, free: 29.67 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.6280023618601263]