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/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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/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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) 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 TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|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="CPUtime|EventCounter|Time|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/SMArtIInt 0.2.2-main/package.mo): time 0.01318/0.01318, allocations: 1.439 MB / 17.75 MB, free: 4.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1273/0.1273, allocations: 22.38 MB / 41.17 MB, free: 7.781 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 108 kB / 48.66 MB, free: 264 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 197.5 kB / 56.25 MB, free: 9.484 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 286.6 MB, free: 13.97 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8485/0.8485, allocations: 127.8 MB / 471.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 139.8 kB / 0.636 GB, free: 13.21 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3778, allocations: 82.34 MB / 0.7164 GB, free: 9.785 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2): time 0.003166/0.381, allocations: 2.121 MB / 0.7184 GB, free: 8.148 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.3818, allocations: 427.6 kB / 0.7188 GB, free: 7.824 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.884e-05/0.3819, allocations: 0 / 0.7188 GB, free: 7.824 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 9.168e-05/0.382, allocations: 5.312 kB / 0.7188 GB, free: 7.82 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.3821, allocations: 9.312 kB / 0.7189 GB, free: 7.812 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.3826, allocations: 137.7 kB / 0.719 GB, free: 7.723 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.3828, allocations: 81 kB / 0.7191 GB, free: 7.676 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.3829, allocations: 14.92 kB / 0.7191 GB, free: 7.672 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 7.092e-05/0.383, allocations: 36.16 kB / 0.7191 GB, free: 7.648 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.3831, allocations: 43.48 kB / 0.7191 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.3831, allocations: 6.188 kB / 0.7192 GB, free: 7.617 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.3833, allocations: 81.3 kB / 0.7192 GB, free: 7.582 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.3833, allocations: 28.22 kB / 0.7193 GB, free: 7.559 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.3834, allocations: 39.91 kB / 0.7193 GB, free: 7.527 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.3836, allocations: 119.4 kB / 0.7194 GB, free: 7.449 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3836, allocations: 4 kB / 0.7194 GB, free: 7.445 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3836, allocations: 1.031 kB / 0.7194 GB, free: 7.445 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.3837, allocations: 0 / 0.7194 GB, free: 7.445 MB / 0.5138 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.0007065/0.3844, allocations: 433.6 kB / 0.7198 GB, free: 7.02 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3844, allocations: 12.84 kB / 0.7198 GB, free: 7.016 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.3845, allocations: 10.38 kB / 0.7199 GB, free: 7.012 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.3847, allocations: 183.8 kB / 0.72 GB, free: 6.801 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.3847, allocations: 35 kB / 0.7201 GB, free: 6.766 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3848, allocations: 13 kB / 0.7201 GB, free: 6.758 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.3851, allocations: 105 kB / 0.7202 GB, free: 6.688 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3851, allocations: 3.938 kB / 0.7202 GB, free: 6.684 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3852, allocations: 1.594 kB / 0.7202 GB, free: 6.684 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3852, allocations: 5.688 kB / 0.7202 GB, free: 6.68 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.3856, allocations: 103.7 kB / 0.7203 GB, free: 6.633 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.3862, allocations: 350.5 kB / 0.7206 GB, free: 6.289 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.3864, allocations: 103.4 kB / 0.7207 GB, free: 6.227 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3867, allocations: 66 kB / 0.7208 GB, free: 6.191 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.3867, allocations: 5.359 kB / 0.7208 GB, free: 6.188 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3867, allocations: 35.94 kB / 0.7208 GB, free: 6.145 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=8): time 4.288e-06/0.3867, allocations: 4.094 kB / 0.7208 GB, free: 6.141 MB / 0.5138 GB Notification: Performance of matching and sorting (n=8): time 0.0007299/0.3875, allocations: 217.9 kB / 0.721 GB, free: 6.023 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.3875, allocations: 56.78 kB / 0.7211 GB, free: 5.957 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.3876, allocations: 125.1 kB / 0.7212 GB, free: 5.844 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3876, allocations: 25.7 kB / 0.7212 GB, free: 5.812 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.3877, allocations: 100.1 kB / 0.7213 GB, free: 5.715 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.3877, allocations: 30.3 kB / 0.7214 GB, free: 5.688 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.3878, allocations: 32.52 kB / 0.7214 GB, free: 5.656 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3879, allocations: 321.5 kB / 0.7217 GB, free: 5.336 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.3881, allocations: 60.94 kB / 0.7217 GB, free: 5.309 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.3883, allocations: 60.94 kB / 0.7218 GB, free: 5.281 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.3887, allocations: 124.1 kB / 0.7219 GB, free: 5.223 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3887, allocations: 5.375 kB / 0.7219 GB, free: 5.219 MB / 0.5138 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004792/0.3892, allocations: 169.2 kB / 0.7221 GB, free: 5.125 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3892, allocations: 7.75 kB / 0.7221 GB, free: 5.125 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3893, allocations: 0 / 0.7221 GB, free: 5.125 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3893, allocations: 1.188 kB / 0.7221 GB, free: 5.125 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.3897, allocations: 69.27 kB / 0.7222 GB, free: 5.102 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3898, allocations: 1.188 kB / 0.7222 GB, free: 5.102 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.3899, allocations: 23.78 kB / 0.7222 GB, free: 5.086 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3899, allocations: 2.938 kB / 0.7222 GB, free: 5.086 MB / 0.5138 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 8.246e-05/0.39, allocations: 124 kB / 0.7223 GB, free: 4.961 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.39, allocations: 10.81 kB / 0.7223 GB, free: 4.953 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.3901, allocations: 15.39 kB / 0.7223 GB, free: 4.938 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3901, allocations: 0 / 0.7223 GB, free: 4.938 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3901, allocations: 0 / 0.7223 GB, free: 4.938 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.3901, allocations: 84.61 kB / 0.7224 GB, free: 4.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.3902, allocations: 4 kB / 0.7224 GB, free: 4.836 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3903, allocations: 16.55 kB / 0.7224 GB, free: 4.828 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.3904, allocations: 14.8 kB / 0.7224 GB, free: 4.816 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006456/0.391, allocations: 261.7 kB / 0.7227 GB, free: 4.637 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007601/0.3918, allocations: 422.6 kB / 0.7231 GB, free: 4.32 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002172/0.392, allocations: 62.88 kB / 0.7232 GB, free: 4.293 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.3921, allocations: 102 kB / 0.7233 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of Backend: time 5.61e-07/0.3921, allocations: 0 / 0.7233 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0006366/0.3927, allocations: 181.3 kB / 0.7234 GB, free: 4.098 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0005855/0.3933, allocations: 0.6505 MB / 0.7241 GB, free: 3.449 MB / 0.5138 GB Notification: Performance of Templates: time 0.004612/0.398, allocations: 1.749 MB / 0.7258 GB, free: 2.566 MB / 0.5138 GB 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","/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) "Error: Could not read variable CPUtime in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testRandomGenerators2_res.mat failed! " Variables in the reference:CPUtime,EventCounter,Time,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