Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.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.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|dynamicBar.decimalSpaces|dynamicBar.provideInputConnectors|dynamicBar.provideLimitsConnectors|dynamicBar.provideOutputConnector|dynamicBar.u|dynamicBar.u_high|dynamicBar.u_high_int|dynamicBar.u_in|dynamicBar.u_int|dynamicBar.u_low|dynamicBar.u_low_int|dynamicBar.u_max|dynamicBar.u_min|dynamicBar.u_set|dynamicBar.u_set_int|dynamicBar.y|gain.k|gain.u|gain.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sine1.amplitude|sine1.f|sine1.offset|sine1.phase|sine1.startTime|sine1.y|sine2.amplitude|sine2.f|sine2.offset|sine2.phase|sine2.startTime|sine2.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar") translateModel(ClaRa.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time_bak|_derdummy|_dummy|dynamicBar.decimalSpaces|dynamicBar.provideInputConnectors|dynamicBar.provideLimitsConnectors|dynamicBar.provideOutputConnector|dynamicBar.u|dynamicBar.u_high|dynamicBar.u_high_int|dynamicBar.u_in|dynamicBar.u_int|dynamicBar.u_low|dynamicBar.u_low_int|dynamicBar.u_max|dynamicBar.u_min|dynamicBar.u_set|dynamicBar.u_set_int|dynamicBar.y|gain.k|gain.u|gain.y|sine.amplitude|sine.f|sine.offset|sine.phase|sine.startTime|sine.y|sine1.amplitude|sine1.f|sine1.offset|sine1.phase|sine1.startTime|sine1.y|sine2.amplitude|sine2.f|sine2.offset|sine2.phase|sine2.startTime|sine2.y",fileNamePrefix="ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 182.2 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.364/1.364, allocations: 222.9 MB / 239.7 MB, free: 10.98 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.001286/0.001286, allocations: 104.2 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.09513/0.09513, allocations: 20.12 MB / 360.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.9949/0.9949, allocations: 126.3 MB / 0.5296 GB, free: 14.95 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 87.86 kB / 0.6208 GB, free: 1.496 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3956, allocations: 81.15 MB / 0.7 GB, free: 33.57 MB / 474.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.002992/0.3986, allocations: 2.333 MB / 0.7023 GB, free: 31.94 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005938/0.3993, allocations: 452.5 kB / 0.7027 GB, free: 31.62 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.3993, allocations: 1.219 kB / 0.7027 GB, free: 31.62 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.3994, allocations: 11.59 kB / 0.7027 GB, free: 31.62 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.3995, allocations: 20.59 kB / 0.7028 GB, free: 31.6 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.3997, allocations: 23.16 kB / 0.7028 GB, free: 31.59 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3998, allocations: 93.55 kB / 0.7029 GB, free: 31.55 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.3999, allocations: 18.31 kB / 0.7029 GB, free: 31.54 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.023e-05/0.4, allocations: 47.27 kB / 0.7029 GB, free: 31.52 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.4001, allocations: 36.61 kB / 0.703 GB, free: 31.5 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.4001, allocations: 3.719 kB / 0.703 GB, free: 31.5 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.611e-05/0.4001, allocations: 3.5 kB / 0.703 GB, free: 31.5 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.4001, allocations: 18.97 kB / 0.703 GB, free: 31.49 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.4002, allocations: 36.31 kB / 0.703 GB, free: 31.47 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.4003, allocations: 81.92 kB / 0.7031 GB, free: 31.43 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4003, allocations: 1.219 kB / 0.7031 GB, free: 31.43 MB / 474.8 MB Notification: Performance of FrontEnd: time 7.61e-07/0.4003, allocations: 0.5938 kB / 0.7031 GB, free: 31.43 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.4003, allocations: 0 / 0.7031 GB, free: 31.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004394/0.4008, allocations: 416 kB / 0.7035 GB, free: 31.03 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4008, allocations: 9.719 kB / 0.7035 GB, free: 31.03 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.4009, allocations: 9.938 kB / 0.7035 GB, free: 31.02 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.401, allocations: 201.3 kB / 0.7037 GB, free: 30.8 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.401, allocations: 3.344 kB / 0.7037 GB, free: 30.8 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.401, allocations: 11.81 kB / 0.7037 GB, free: 30.8 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.4013, allocations: 116.1 kB / 0.7038 GB, free: 30.72 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4013, allocations: 3.938 kB / 0.7039 GB, free: 30.71 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4013, allocations: 5.406 kB / 0.7039 GB, free: 30.71 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4013, allocations: 3.734 kB / 0.7039 GB, free: 30.71 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.4015, allocations: 65.22 kB / 0.7039 GB, free: 30.7 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.402, allocations: 0.5778 MB / 0.7045 GB, free: 30.14 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.4022, allocations: 84.81 kB / 0.7046 GB, free: 30.06 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.693e-05/0.4023, allocations: 47.38 kB / 0.7046 GB, free: 30.03 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.4023, allocations: 0 / 0.7046 GB, free: 30.03 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.4024, allocations: 39.05 kB / 0.7047 GB, free: 29.98 MB / 474.8 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.4024, allocations: 0 / 0.7047 GB, free: 29.98 MB / 474.8 MB Notification: Performance of matching and sorting (n=5): time 0.0004027/0.4028, allocations: 127.8 kB / 0.7048 GB, free: 29.93 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.4028, allocations: 144.7 kB / 0.7049 GB, free: 29.76 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4029, allocations: 154.2 kB / 0.7051 GB, free: 29.64 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.4029, allocations: 27.02 kB / 0.7051 GB, free: 29.61 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.403, allocations: 110.2 kB / 0.7052 GB, free: 29.51 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.403, allocations: 20.41 kB / 0.7052 GB, free: 29.5 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.4031, allocations: 22.22 kB / 0.7052 GB, free: 29.48 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 4.738e-05/0.4031, allocations: 324.8 kB / 0.7055 GB, free: 29.16 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.39e-05/0.4032, allocations: 26.72 kB / 0.7056 GB, free: 29.16 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4033, allocations: 74.58 kB / 0.7056 GB, free: 29.09 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.4035, allocations: 95.77 kB / 0.7057 GB, free: 29.03 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4035, allocations: 9.125 kB / 0.7057 GB, free: 29.02 MB / 474.8 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002534/0.4038, allocations: 120.8 kB / 0.7059 GB, free: 28.96 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4038, allocations: 6.188 kB / 0.7059 GB, free: 28.96 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4038, allocations: 1.188 kB / 0.7059 GB, free: 28.96 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4038, allocations: 6.109 kB / 0.7059 GB, free: 28.96 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.404, allocations: 25.89 kB / 0.7059 GB, free: 28.96 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.404, allocations: 5.844 kB / 0.7059 GB, free: 28.95 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.4041, allocations: 15.77 kB / 0.7059 GB, free: 28.95 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4041, allocations: 4.531 kB / 0.7059 GB, free: 28.95 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 6.035e-05/0.4042, allocations: 125.5 kB / 0.706 GB, free: 28.82 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.4042, allocations: 9.781 kB / 0.706 GB, free: 28.82 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.4043, allocations: 13.66 kB / 0.7061 GB, free: 28.82 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4043, allocations: 2.594 kB / 0.7061 GB, free: 28.82 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4043, allocations: 6.438 kB / 0.7061 GB, free: 28.81 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.4043, allocations: 1.609 kB / 0.7061 GB, free: 28.81 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.4045, allocations: 196 kB / 0.7063 GB, free: 28.61 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4046, allocations: 0.9375 kB / 0.7063 GB, free: 28.61 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.004e-05/0.4046, allocations: 16.7 kB / 0.7063 GB, free: 28.61 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4047, allocations: 1.188 kB / 0.7063 GB, free: 28.61 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4047, allocations: 3.078 kB / 0.7063 GB, free: 28.61 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4047, allocations: 0.5 kB / 0.7063 GB, free: 28.61 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4047, allocations: 7.281 kB / 0.7063 GB, free: 28.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.4052, allocations: 0.929 MB / 0.7072 GB, free: 27.71 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.748e-05/0.4052, allocations: 89.58 kB / 0.7073 GB, free: 27.61 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.4052, allocations: 8.062 kB / 0.7073 GB, free: 27.6 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.4054, allocations: 10.53 kB / 0.7073 GB, free: 27.6 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.4055, allocations: 5.406 kB / 0.7073 GB, free: 27.6 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.4055, allocations: 3.328 kB / 0.7073 GB, free: 27.6 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.41e-05/0.4055, allocations: 122.9 kB / 0.7074 GB, free: 27.51 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4055, allocations: 1.812 kB / 0.7074 GB, free: 27.51 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003881/0.4059, allocations: 12.09 kB / 0.7074 GB, free: 27.51 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (5): * Single equations (assignments): 5 * 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 6.768e-05/0.406, allocations: 96.19 kB / 0.7075 GB, free: 27.42 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.4063, allocations: 72.62 kB / 0.7076 GB, free: 27.41 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4063, allocations: 1.469 kB / 0.7076 GB, free: 27.41 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.4064, allocations: 34.58 kB / 0.7076 GB, free: 27.4 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.4067, allocations: 15.53 kB / 0.7076 GB, free: 27.39 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.4072, allocations: 372.6 kB / 0.708 GB, free: 27.05 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.4073, allocations: 0.7038 MB / 0.7087 GB, free: 26.36 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.4074, allocations: 8.281 kB / 0.7087 GB, free: 26.36 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.4074, allocations: 11.5 kB / 0.7087 GB, free: 26.35 MB / 474.8 MB Notification: Performance of SimCode: time 2.31e-07/0.4074, allocations: 0 / 0.7087 GB, free: 26.35 MB / 474.8 MB Notification: Performance of Templates: time 0.002498/0.4099, allocations: 0.6475 MB / 0.7093 GB, free: 26.06 MB / 474.8 MB make -j1 -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.makefile (rm -f ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; mkfifo ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe >> ../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.sim & ./ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat","/mnt/ReferenceFiles/ExtraLibs/clara_om.git/ReferenceResults/ClaRa.Visualisation.Check.TestDynamicBar.mat","../files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches