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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|noise.Tau_sample|noise.Tau_smooth|der.noise.y.|noise.m_in|noise.mean|noise.mean_const|noise.sigma|noise.startTime|noise.stdDev_const|noise.stdDev_in|noise.varMeanValue|noise.varStandardDeviation|noise.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp3.duration|ramp3.height|ramp3.offset|ramp3.startTime|ramp3.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|noise.Tau_sample|noise.Tau_smooth|der.noise.y.|noise.m_in|noise.mean|noise.mean_const|noise.sigma|noise.startTime|noise.stdDev_const|noise.stdDev_in|noise.varMeanValue|noise.varStandardDeviation|noise.y|ramp1.duration|ramp1.height|ramp1.offset|ramp1.startTime|ramp1.y|ramp3.duration|ramp3.height|ramp3.offset|ramp3.startTime|ramp3.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009743/0.0009743, allocations: 98.27 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.08826/0.08826, allocations: 20.12 MB / 360.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.988/0.988, allocations: 126.3 MB / 0.5296 GB, free: 14.97 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.00143, allocations: 71.89 kB / 0.6208 GB, free: 1.504 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3495, allocations: 81.16 MB / 0.7 GB, free: 33.48 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.00319/0.3527, allocations: 2.17 MB / 0.7022 GB, free: 31.97 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.3535, allocations: 430.7 kB / 0.7026 GB, free: 31.7 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.3536, allocations: 0.5938 kB / 0.7026 GB, free: 31.7 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.3537, allocations: 6.562 kB / 0.7026 GB, free: 31.69 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/0.3538, allocations: 7.734 kB / 0.7026 GB, free: 31.69 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004892/0.3543, allocations: 119.2 kB / 0.7027 GB, free: 31.64 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3544, allocations: 81.39 kB / 0.7028 GB, free: 31.6 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.3545, allocations: 18.42 kB / 0.7028 GB, free: 31.59 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.3546, allocations: 25.95 kB / 0.7028 GB, free: 31.59 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.3546, allocations: 42.7 kB / 0.7029 GB, free: 31.57 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3547, allocations: 3.312 kB / 0.7029 GB, free: 31.57 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3548, allocations: 72.91 kB / 0.7029 GB, free: 31.55 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.255e-05/0.3549, allocations: 18.66 kB / 0.703 GB, free: 31.54 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.355, allocations: 34.69 kB / 0.703 GB, free: 31.52 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.3552, allocations: 126.1 kB / 0.7031 GB, free: 31.48 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3552, allocations: 0 / 0.7031 GB, free: 31.48 MB / 474.8 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3552, allocations: 0 / 0.7031 GB, free: 31.48 MB / 474.8 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.3552, allocations: 0 / 0.7031 GB, free: 31.48 MB / 474.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.0006002/0.3558, allocations: 424.1 kB / 0.7035 GB, free: 31.08 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3559, allocations: 10.72 kB / 0.7035 GB, free: 31.08 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3559, allocations: 11.64 kB / 0.7035 GB, free: 31.07 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3561, allocations: 194.1 kB / 0.7037 GB, free: 30.86 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.3561, allocations: 37.78 kB / 0.7038 GB, free: 30.82 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3562, allocations: 8.438 kB / 0.7038 GB, free: 30.82 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.3565, allocations: 106.1 kB / 0.7039 GB, free: 30.77 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3565, allocations: 6.406 kB / 0.7039 GB, free: 30.77 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3565, allocations: 1.125 kB / 0.7039 GB, free: 30.77 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3565, allocations: 2.219 kB / 0.7039 GB, free: 30.77 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.3569, allocations: 104.3 kB / 0.704 GB, free: 30.75 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.3575, allocations: 361.8 kB / 0.7043 GB, free: 30.44 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3578, allocations: 104.6 kB / 0.7044 GB, free: 30.4 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.3581, allocations: 65.45 kB / 0.7045 GB, free: 30.38 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3581, allocations: 1.312 kB / 0.7045 GB, free: 30.38 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3582, allocations: 33.78 kB / 0.7045 GB, free: 30.34 MB / 474.8 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.3582, allocations: 0.9375 kB / 0.7045 GB, free: 30.34 MB / 474.8 MB Notification: Performance of matching and sorting (n=8): time 0.0008277/0.359, allocations: 224.5 kB / 0.7047 GB, free: 30.26 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.359, allocations: 52.78 kB / 0.7048 GB, free: 30.2 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.3591, allocations: 125.3 kB / 0.7049 GB, free: 30.09 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3591, allocations: 31.58 kB / 0.7049 GB, free: 30.06 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.3592, allocations: 94.14 kB / 0.705 GB, free: 29.97 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.3592, allocations: 30.94 kB / 0.705 GB, free: 29.95 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.3593, allocations: 27.08 kB / 0.7051 GB, free: 29.92 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.3593, allocations: 325 kB / 0.7054 GB, free: 29.6 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3595, allocations: 56.59 kB / 0.7054 GB, free: 29.59 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.3598, allocations: 66.64 kB / 0.7055 GB, free: 29.58 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.3602, allocations: 133.9 kB / 0.7056 GB, free: 29.54 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3602, allocations: 0 / 0.7056 GB, free: 29.54 MB / 474.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004955/0.3607, allocations: 171.7 kB / 0.7058 GB, free: 29.47 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3607, allocations: 6.438 kB / 0.7058 GB, free: 29.47 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3607, allocations: 1.031 kB / 0.7058 GB, free: 29.47 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3607, allocations: 1.125 kB / 0.7058 GB, free: 29.47 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.3612, allocations: 66.39 kB / 0.7059 GB, free: 29.47 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.3612, allocations: 2 kB / 0.7059 GB, free: 29.47 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.3613, allocations: 26.05 kB / 0.7059 GB, free: 29.46 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3613, allocations: 4.016 kB / 0.7059 GB, free: 29.46 MB / 474.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 6.5e-05/0.3614, allocations: 119.4 kB / 0.706 GB, free: 29.34 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3615, allocations: 8.688 kB / 0.706 GB, free: 29.34 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.3615, allocations: 11.94 kB / 0.706 GB, free: 29.33 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3615, allocations: 3.109 kB / 0.706 GB, free: 29.33 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3615, allocations: 0 / 0.706 GB, free: 29.33 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3615, allocations: 3.891 kB / 0.706 GB, free: 29.33 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3617, allocations: 207.5 kB / 0.7062 GB, free: 29.12 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3617, allocations: 0 / 0.7062 GB, free: 29.12 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.3622, allocations: 65.52 kB / 0.7063 GB, free: 29.11 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3622, allocations: 2.625 kB / 0.7063 GB, free: 29.11 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3622, allocations: 1.062 kB / 0.7063 GB, free: 29.11 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3622, allocations: 1.125 kB / 0.7063 GB, free: 29.11 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3622, allocations: 0 / 0.7063 GB, free: 29.11 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/0.3655, allocations: 1.936 MB / 0.7082 GB, free: 27.46 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.3655, allocations: 83.27 kB / 0.7083 GB, free: 27.37 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3656, allocations: 14.09 kB / 0.7083 GB, free: 27.36 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3657, allocations: 15.97 kB / 0.7083 GB, free: 27.35 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.3658, allocations: 7.922 kB / 0.7083 GB, free: 27.34 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.3658, allocations: 7 kB / 0.7083 GB, free: 27.34 MB / 474.8 MB Notification: Performance of sorting global known variables: time 4.143e-05/0.3658, allocations: 100.4 kB / 0.7084 GB, free: 27.25 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3658, allocations: 6.281 kB / 0.7084 GB, free: 27.25 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003718/0.3662, allocations: 39.59 kB / 0.7085 GB, free: 27.24 MB / 474.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.0001627/0.3664, allocations: 120.6 kB / 0.7086 GB, free: 27.14 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.3669, allocations: 132.3 kB / 0.7087 GB, free: 27.09 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3669, allocations: 0 / 0.7087 GB, free: 27.09 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.3671, allocations: 70.38 kB / 0.7088 GB, free: 27.05 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3674, allocations: 9.188 kB / 0.7088 GB, free: 27.05 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.3679, allocations: 378.2 kB / 0.7091 GB, free: 26.71 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.368, allocations: 0.7016 MB / 0.7098 GB, free: 26 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.3681, allocations: 15.77 kB / 0.7098 GB, free: 26 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.3681, allocations: 15.55 kB / 0.7098 GB, free: 25.99 MB / 474.8 MB Notification: Performance of SimCode: time 2.4e-07/0.3682, allocations: 3.938 kB / 0.7098 GB, free: 25.98 MB / 474.8 MB Notification: Performance of Templates: time 0.003443/0.3716, allocations: 1.314 MB / 0.7111 GB, free: 25.38 MB / 474.8 MB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.makefile (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=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.mat","../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable Time_bak in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat. Warning: Get data of variable Time_bak from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat failed! " Variables in the reference:Time,Time_bak,noise.Tau_sample,noise.Tau_smooth,der(noise.y),noise.m_in,noise.mean,noise.mean_const,noise.sigma,noise.startTime,noise.stdDev_const,noise.stdDev_in,noise.varMeanValue,noise.varStandardDeviation,noise.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y Variables in the result:der(noise.y),noise.Tau_sample,noise.Tau_smooth,noise.m_in,noise.mean,noise.mean_const,noise.sigma,noise.startTime,noise.stdDev_const,noise.stdDev_in,noise.varMeanValue,noise.varStandardDeviation,noise.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,time