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.01233/0.01233, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.000826/0.000826, allocations: 86.42 kB / 25.4 MB, free: 6.496 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.001186/0.001186, allocations: 159.4 kB / 29.33 MB, free: 2.973 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.8923/0.8923, allocations: 177.2 MB / 210.3 MB, free: 3.418 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.6273/0.6273, allocations: 102.5 MB / 369.9 MB, free: 204 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.783e-06/1.783e-06, allocations: 0 / 470.5 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.567e-05, allocations: 6.875 kB / 470.5 MB, free: 18.81 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.002573/0.002599, allocations: 2.181 MB / 472.6 MB, free: 17.36 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006642/0.003263, allocations: 415.6 kB / 473 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.00332, allocations: 0 / 473 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.003418, allocations: 3.938 kB / 473 MB, free: 17.1 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.003462, allocations: 17.86 kB / 473.1 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.003922, allocations: 144.9 kB / 473.2 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.004035, allocations: 84.34 kB / 473.3 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.183e-05/0.004117, allocations: 8.656 kB / 473.3 MB, free: 16.98 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 7.91e-05/0.004196, allocations: 47.72 kB / 473.3 MB, free: 16.96 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.004259, allocations: 36.83 kB / 473.4 MB, free: 16.95 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.004276, allocations: 10.22 kB / 473.4 MB, free: 16.95 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.004437, allocations: 82.12 kB / 473.5 MB, free: 16.93 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.95e-05/0.004486, allocations: 22.11 kB / 473.5 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.004515, allocations: 28 kB / 473.5 MB, free: 16.9 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.00469, allocations: 126 kB / 473.6 MB, free: 16.85 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.004692, allocations: 0 / 473.6 MB, free: 16.85 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004693, allocations: 2.438 kB / 473.6 MB, free: 16.85 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004697, allocations: 0 / 473.6 MB, free: 16.85 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.0004115/0.005109, allocations: 441.5 kB / 474.1 MB, free: 16.44 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.005145, allocations: 10.5 kB / 474.1 MB, free: 16.44 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.005185, allocations: 18.05 kB / 474.1 MB, free: 16.43 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.00529, allocations: 133.4 kB / 474.2 MB, free: 16.29 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.005332, allocations: 32.7 kB / 474.3 MB, free: 16.26 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.005351, allocations: 5.844 kB / 474.3 MB, free: 16.26 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.005499, allocations: 93.84 kB / 474.4 MB, free: 16.2 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005507, allocations: 2.875 kB / 474.4 MB, free: 16.2 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.005515, allocations: 1.625 kB / 474.4 MB, free: 16.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-06/0.005521, allocations: 4.125 kB / 474.4 MB, free: 16.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.449e-05/0.005586, allocations: 29.38 kB / 474.4 MB, free: 16.19 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.005832, allocations: 299 kB / 474.7 MB, free: 15.93 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.005895, allocations: 53.41 kB / 474.7 MB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.00592, allocations: 25.05 kB / 474.8 MB, free: 15.88 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.005939, allocations: 6.844 kB / 474.8 MB, free: 15.87 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.005953, allocations: 40.39 kB / 474.8 MB, free: 15.82 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.005954, allocations: 2.406 kB / 474.8 MB, free: 15.82 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001421/0.006096, allocations: 80.69 kB / 474.9 MB, free: 15.79 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.473e-05/0.006111, allocations: 51.41 kB / 474.9 MB, free: 15.72 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.006406, allocations: 189.3 kB / 475.1 MB, free: 31.55 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.006413, allocations: 29.64 kB / 475.2 MB, free: 31.51 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.006451, allocations: 145.7 kB / 475.3 MB, free: 31.37 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.006473, allocations: 28.22 kB / 475.3 MB, free: 31.35 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/0.006503, allocations: 35.16 kB / 475.4 MB, free: 31.32 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.006607, allocations: 0.4907 MB / 475.9 MB, free: 30.82 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.269e-05/0.00663, allocations: 11.92 kB / 475.9 MB, free: 30.82 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.006649, allocations: 8.469 kB / 475.9 MB, free: 30.82 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.006697, allocations: 39.28 kB / 475.9 MB, free: 30.8 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006699, allocations: 2.719 kB / 475.9 MB, free: 30.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.236e-05/0.006781, allocations: 87.42 kB / 476 MB, free: 30.75 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.006792, allocations: 5.719 kB / 476 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.006796, allocations: 0 / 476 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.006804, allocations: 0 / 476 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.006972, allocations: 52.33 kB / 476.1 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.006975, allocations: 2 kB / 476.1 MB, free: 30.75 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.007006, allocations: 20.8 kB / 476.1 MB, free: 30.74 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.007012, allocations: 3.016 kB / 476.1 MB, free: 30.74 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.733e-05/0.007069, allocations: 159.2 kB / 476.2 MB, free: 30.57 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.007087, allocations: 15.64 kB / 476.3 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.00712, allocations: 14.5 kB / 476.3 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.007122, allocations: 3.406 kB / 476.3 MB, free: 30.56 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007124, allocations: 4 kB / 476.3 MB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.007127, allocations: 3.719 kB / 476.3 MB, free: 30.55 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.568e-05/0.007213, allocations: 119.1 kB / 476.4 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007214, allocations: 0 / 476.4 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.007378, allocations: 47.61 kB / 476.4 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.007379, allocations: 0 / 476.4 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.007388, allocations: 5.828 kB / 476.4 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007389, allocations: 4.938 kB / 476.5 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.00739, allocations: 0 / 476.5 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.00756, allocations: 245.7 kB / 476.7 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.007569, allocations: 15 kB / 476.7 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.00758, allocations: 2.938 kB / 476.7 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.628e-05/0.007626, allocations: 8.594 kB / 476.7 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.007655, allocations: 15.05 kB / 476.7 MB, free: 30.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.007659, allocations: 0 / 476.7 MB, free: 30.2 MB / 426.8 MB Notification: Performance of sorting global known variables: time 3.819e-05/0.007697, allocations: 137.2 kB / 476.9 MB, free: 30.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007697, allocations: 0 / 476.9 MB, free: 30.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001696/0.007867, allocations: 34.97 kB / 476.9 MB, free: 30.08 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.0001195/0.007986, allocations: 130.5 kB / 477 MB, free: 29.98 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 8.253e-05/0.008069, allocations: 45.34 kB / 477.1 MB, free: 29.96 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.00807, allocations: 4.812 kB / 477.1 MB, free: 29.96 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.008099, allocations: 33.59 kB / 477.1 MB, free: 29.94 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.008271, allocations: 9.875 kB / 477.1 MB, free: 29.94 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.00853, allocations: 196.3 kB / 477.3 MB, free: 29.78 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.255e-05/0.008553, allocations: 65.3 kB / 477.4 MB, free: 29.71 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.008584, allocations: 6.938 kB / 477.4 MB, free: 29.71 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.00864, allocations: 84.44 kB / 477.5 MB, free: 29.64 MB / 426.8 MB Notification: Performance of SimCode: time 5.51e-07/0.008641, allocations: 0 / 477.5 MB, free: 29.64 MB / 426.8 MB Notification: Performance of Templates: time 0.002881/0.01152, allocations: 1.632 MB / 479.1 MB, free: 29.48 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.341611657757312]