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/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.Visualisation.Check.TestDynamicBar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|_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="CPUtime|EventCounter|Time|_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/SMArtIInt 0.2.2-main/package.mo): time 0.01406/0.01406, allocations: 1.417 MB / 16.69 MB, free: 4.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1284/0.1284, allocations: 22.59 MB / 40.31 MB, free: 1.117 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008529/0.0008531, allocations: 95.12 kB / 48.06 MB, free: 2.414 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001019, allocations: 174.6 kB / 55.92 MB, free: 3.973 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 223.3 MB / 286.9 MB, free: 2.625 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.063/1.063, allocations: 127.7 MB / 472.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005848/0.000585, allocations: 16.41 kB / 0.5567 GB, free: 43.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2327, allocations: 83.89 MB / 0.6386 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Visualisation.Check.TestDynamicBar): time 0.003258/0.2361, allocations: 1.979 MB / 0.6405 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008651/0.2369, allocations: 447 kB / 0.641 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.237, allocations: 0 / 0.641 GB, free: 8.605 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2372, allocations: 15.86 kB / 0.641 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.021e-05/0.2373, allocations: 11.88 kB / 0.641 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.2375, allocations: 27.91 kB / 0.641 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.2377, allocations: 99.62 kB / 0.6411 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.2378, allocations: 17.06 kB / 0.6411 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.2379, allocations: 35.8 kB / 0.6412 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.763e-05/0.238, allocations: 39.77 kB / 0.6412 GB, free: 8.363 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.2381, allocations: 4 kB / 0.6412 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.2381, allocations: 4 kB / 0.6412 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.2381, allocations: 15.86 kB / 0.6412 GB, free: 8.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.2382, allocations: 69.44 kB / 0.6413 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.2384, allocations: 75.69 kB / 0.6414 GB, free: 8.191 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.2384, allocations: 0 / 0.6414 GB, free: 8.191 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2384, allocations: 3.938 kB / 0.6414 GB, free: 8.188 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.2384, allocations: 0 / 0.6414 GB, free: 8.188 MB / 462.1 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.0006294/0.239, allocations: 395.1 kB / 0.6417 GB, free: 7.754 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.2391, allocations: 12.03 kB / 0.6417 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.2392, allocations: 12.84 kB / 0.6418 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.2394, allocations: 196 kB / 0.6419 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.2394, allocations: 4.375 kB / 0.642 GB, free: 7.496 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.2395, allocations: 12.38 kB / 0.642 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.2398, allocations: 129.3 kB / 0.6421 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2398, allocations: 0 / 0.6421 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.2399, allocations: 4 kB / 0.6421 GB, free: 7.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2399, allocations: 0 / 0.6421 GB, free: 7.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.2401, allocations: 87.86 kB / 0.6422 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.2409, allocations: 0.5831 MB / 0.6427 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.2411, allocations: 91.77 kB / 0.6428 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.2413, allocations: 50.62 kB / 0.6429 GB, free: 6.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2413, allocations: 3.938 kB / 0.6429 GB, free: 6.426 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.2413, allocations: 38.56 kB / 0.6429 GB, free: 6.379 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 3.126e-06/0.2413, allocations: 0 / 0.6429 GB, free: 6.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005017/0.2418, allocations: 149.8 kB / 0.6431 GB, free: 6.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.944e-05/0.242, allocations: 136.5 kB / 0.6432 GB, free: 6.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.2421, allocations: 152.4 kB / 0.6433 GB, free: 5.906 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2421, allocations: 25.7 kB / 0.6434 GB, free: 5.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.2422, allocations: 115.9 kB / 0.6435 GB, free: 5.758 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.2423, allocations: 19.73 kB / 0.6435 GB, free: 5.738 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.2423, allocations: 13.72 kB / 0.6435 GB, free: 5.719 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2425, allocations: 322.8 kB / 0.6438 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2426, allocations: 35.98 kB / 0.6438 GB, free: 5.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.2427, allocations: 73.92 kB / 0.6439 GB, free: 5.266 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.243, allocations: 117.1 kB / 0.644 GB, free: 5.133 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.243, allocations: 0 / 0.644 GB, free: 5.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002888/0.2433, allocations: 137.3 kB / 0.6442 GB, free: 4.992 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.2433, allocations: 4 kB / 0.6442 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2433, allocations: 4 kB / 0.6442 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2433, allocations: 0 / 0.6442 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2435, allocations: 23.98 kB / 0.6442 GB, free: 4.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.2435, allocations: 7.875 kB / 0.6442 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.2436, allocations: 28.11 kB / 0.6442 GB, free: 4.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2436, allocations: 4 kB / 0.6442 GB, free: 4.922 MB / 462.1 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 9.791e-05/0.2437, allocations: 113.8 kB / 0.6443 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.536e-05/0.2438, allocations: 11.89 kB / 0.6444 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.2438, allocations: 11.88 kB / 0.6444 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2438, allocations: 4 kB / 0.6444 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2439, allocations: 3.938 kB / 0.6444 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2439, allocations: 4 kB / 0.6444 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.2442, allocations: 201.5 kB / 0.6446 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2442, allocations: 0 / 0.6446 GB, free: 4.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.2443, allocations: 15.98 kB / 0.6446 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2443, allocations: 4 kB / 0.6446 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2443, allocations: 3.984 kB / 0.6446 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2443, allocations: 0 / 0.6446 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2443, allocations: 11.88 kB / 0.6446 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.2447, allocations: 357.9 kB / 0.6449 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.2447, allocations: 93 kB / 0.645 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2448, allocations: 0 / 0.645 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.2449, allocations: 20.05 kB / 0.645 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.245, allocations: 11.88 kB / 0.6451 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.245, allocations: 0 / 0.6451 GB, free: 3.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.2451, allocations: 117.2 kB / 0.6452 GB, free: 3.867 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2451, allocations: 0 / 0.6452 GB, free: 3.867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.2454, allocations: 16 kB / 0.6452 GB, free: 3.852 MB / 462.1 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 9.765e-05/0.2455, allocations: 99.19 kB / 0.6453 GB, free: 3.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.2458, allocations: 88.19 kB / 0.6454 GB, free: 3.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2458, allocations: 0 / 0.6454 GB, free: 3.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.2459, allocations: 35.98 kB / 0.6454 GB, free: 3.625 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.2463, allocations: 4 kB / 0.6454 GB, free: 3.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005169/0.2468, allocations: 269.3 kB / 0.6457 GB, free: 3.312 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.2472, allocations: 0.7063 MB / 0.6464 GB, free: 2.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.474e-05/0.2472, allocations: 7.984 kB / 0.6464 GB, free: 2.574 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.2473, allocations: 15.42 kB / 0.6464 GB, free: 2.559 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2473, allocations: 0 / 0.6464 GB, free: 2.559 MB / 462.1 MB Notification: Performance of Templates: time 0.003148/0.2504, allocations: 0.6215 MB / 0.647 GB, free: 1.945 MB / 462.1 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=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Visualisation.Check.TestDynamicBar.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Visualisation.Check.TestDynamicBar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches