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.02138/0.02138, allocations: 1.796 MB / 21.15 MB, free: 3.246 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.002074/0.002074, allocations: 76.78 kB / 24.88 MB, free: 6.824 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.002384/0.002384, allocations: 160.8 kB / 28.74 MB, free: 3.656 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.5/1.5, allocations: 177.2 MB / 209.6 MB, free: 2.379 MB / 186.7 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.114/1.114, allocations: 102.5 MB / 369.1 MB, free: 0.8789 MB / 330.8 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 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_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: Performance of FrontEnd - loaded program: time 5.21e-06/5.21e-06, allocations: 4 kB / 469.1 MB, free: 12.99 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.745e-05, allocations: 2.312 kB / 469.1 MB, free: 12.98 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003617/0.003655, allocations: 2.13 MB / 471.3 MB, free: 10.84 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.004597, allocations: 418.5 kB / 471.7 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.004645, allocations: 0 / 471.7 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.004753, allocations: 7.875 kB / 471.7 MB, free: 10.43 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.00481, allocations: 19.86 kB / 471.7 MB, free: 10.41 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005563/0.005366, allocations: 135.5 kB / 471.8 MB, free: 10.27 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.005529, allocations: 91.69 kB / 471.9 MB, free: 10.18 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.005614, allocations: 4 kB / 471.9 MB, free: 10.18 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.00572, allocations: 51.88 kB / 472 MB, free: 10.13 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.005798, allocations: 23.97 kB / 472 MB, free: 10.11 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.005823, allocations: 8 kB / 472 MB, free: 10.1 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.00604, allocations: 91.73 kB / 472.1 MB, free: 10.01 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.006114, allocations: 27.95 kB / 472.1 MB, free: 9.98 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.006164, allocations: 27.91 kB / 472.1 MB, free: 9.953 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.006451, allocations: 155.6 kB / 472.3 MB, free: 9.801 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.006455, allocations: 0 / 472.3 MB, free: 9.801 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006456, allocations: 0 / 472.3 MB, free: 9.801 MB / 442.8 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.006462, allocations: 0 / 472.3 MB, free: 9.801 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.0008995/0.007362, allocations: 443.8 kB / 472.7 MB, free: 9.328 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.007401, allocations: 11.97 kB / 472.7 MB, free: 9.316 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.007467, allocations: 16.89 kB / 472.8 MB, free: 9.301 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.007667, allocations: 128.5 kB / 472.9 MB, free: 9.148 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-05/0.007734, allocations: 34.25 kB / 472.9 MB, free: 9.109 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.007767, allocations: 16.31 kB / 472.9 MB, free: 9.094 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.008018, allocations: 86.2 kB / 473 MB, free: 9.004 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.008027, allocations: 192 / 473 MB, free: 9.004 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.008039, allocations: 384 / 473 MB, free: 9.004 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.008049, allocations: 8.125 kB / 473 MB, free: 8.996 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.008322, allocations: 71.92 kB / 473.1 MB, free: 8.926 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.008926, allocations: 331.6 kB / 473.4 MB, free: 8.566 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.009169, allocations: 83.03 kB / 473.5 MB, free: 8.473 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.009314, allocations: 47.8 kB / 473.5 MB, free: 8.422 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.009348, allocations: 7.938 kB / 473.6 MB, free: 8.414 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.009384, allocations: 33.39 kB / 473.6 MB, free: 8.371 MB / 442.8 MB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.009385, allocations: 0 / 473.6 MB, free: 8.371 MB / 442.8 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.009929, allocations: 161.5 kB / 473.7 MB, free: 8.207 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.009975, allocations: 55.41 kB / 473.8 MB, free: 8.141 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.01015, allocations: 191.3 kB / 474 MB, free: 7.938 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01017, allocations: 29.64 kB / 474 MB, free: 7.902 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.01028, allocations: 154.8 kB / 474.2 MB, free: 7.746 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.01032, allocations: 31.75 kB / 474.2 MB, free: 7.715 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.01039, allocations: 31.36 kB / 474.2 MB, free: 7.676 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002733/0.01066, allocations: 0.4962 MB / 474.7 MB, free: 7.168 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.0108, allocations: 35.98 kB / 474.8 MB, free: 7.133 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.01092, allocations: 39.91 kB / 474.8 MB, free: 7.094 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.0112, allocations: 99.56 kB / 474.9 MB, free: 6.992 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.0112, allocations: 4 kB / 474.9 MB, free: 6.988 MB / 442.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003418/0.01155, allocations: 133.5 kB / 475 MB, free: 6.852 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.01156, allocations: 7.984 kB / 475 MB, free: 6.844 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01157, allocations: 0 / 475 MB, free: 6.844 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01158, allocations: 0 / 475 MB, free: 6.844 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.01199, allocations: 59.95 kB / 475.1 MB, free: 6.785 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01199, allocations: 0 / 475.1 MB, free: 6.785 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.01207, allocations: 8 kB / 475.1 MB, free: 6.777 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.01208, allocations: 4 kB / 475.1 MB, free: 6.773 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.000132/0.01221, allocations: 164.6 kB / 475.3 MB, free: 6.602 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.01225, allocations: 11.89 kB / 475.3 MB, free: 6.59 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.01231, allocations: 16.44 kB / 475.3 MB, free: 6.57 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01231, allocations: 0 / 475.3 MB, free: 6.57 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01231, allocations: 0 / 475.3 MB, free: 6.57 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01232, allocations: 4 kB / 475.3 MB, free: 6.566 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.01252, allocations: 144.6 kB / 475.4 MB, free: 6.391 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01252, allocations: 0 / 475.4 MB, free: 6.391 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.01294, allocations: 51.89 kB / 475.5 MB, free: 6.34 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01295, allocations: 3.938 kB / 475.5 MB, free: 6.336 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.01296, allocations: 0 / 475.5 MB, free: 6.336 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01296, allocations: 4 kB / 475.5 MB, free: 6.332 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01296, allocations: 0 / 475.5 MB, free: 6.332 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.01354, allocations: 319.8 kB / 475.8 MB, free: 6 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.01356, allocations: 11.89 kB / 475.8 MB, free: 5.988 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.01358, allocations: 0 / 475.8 MB, free: 5.988 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.01368, allocations: 7.984 kB / 475.8 MB, free: 5.98 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.01374, allocations: 19.91 kB / 475.8 MB, free: 5.961 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-06/0.01375, allocations: 0 / 475.8 MB, free: 5.961 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001163/0.01387, allocations: 156.2 kB / 476 MB, free: 5.809 MB / 442.8 MB Notification: Performance of sort global known variables: time 6e-08/0.01387, allocations: 0 / 476 MB, free: 5.809 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002685/0.01414, allocations: 28.03 kB / 476 MB, free: 5.781 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.0002219/0.01436, allocations: 123.2 kB / 476.1 MB, free: 5.652 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0005922/0.01495, allocations: 99.62 kB / 476.2 MB, free: 5.551 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01495, allocations: 3.938 kB / 476.2 MB, free: 5.547 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.01511, allocations: 55.66 kB / 476.3 MB, free: 5.488 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.01537, allocations: 15.92 kB / 476.3 MB, free: 5.473 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.0159, allocations: 218.2 kB / 476.5 MB, free: 5.23 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.953e-05/0.01599, allocations: 83.25 kB / 476.6 MB, free: 5.129 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 6.235e-05/0.01606, allocations: 11.98 kB / 476.6 MB, free: 5.117 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.0161, allocations: 20.5 kB / 476.6 MB, free: 5.098 MB / 442.8 MB Notification: Performance of SimCode: time 5.31e-07/0.0161, allocations: 4 kB / 476.6 MB, free: 5.094 MB / 442.8 MB Notification: Performance of Templates: time 0.0052/0.0213, allocations: 1.474 MB / 478.1 MB, free: 3.633 MB / 442.8 MB " [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=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_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_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.819341905997135]