Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.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.008413/0.008413, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0007437/0.0007437, allocations: 87.39 kB / 25.61 MB, free: 6.535 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.000854/0.000854, allocations: 163.4 kB / 29.46 MB, free: 3.035 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 0.9204/0.9204, allocations: 177.1 MB / 210.3 MB, free: 1.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.7292/0.7292, allocations: 102.5 MB / 369.8 MB, free: 0.9961 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.TestMinMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|timeExtrema.ymax|timeExtrema.ymin",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") translateModel(ClaRa.Components.Utilities.Blocks.Check.TestMinMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|timeExtrema.ymax|timeExtrema.ymin",fileNamePrefix="ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 469.9 MB, free: 13.04 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.283e-05, allocations: 6.312 kB / 469.9 MB, free: 13.03 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.003869/0.003902, allocations: 2.37 MB / 472.3 MB, free: 10.64 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.004966, allocations: 0.5181 MB / 472.8 MB, free: 10.12 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.005055, allocations: 0 / 472.8 MB, free: 10.12 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 6.309e-05/0.005118, allocations: 11.86 kB / 472.8 MB, free: 10.11 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 8.672e-05/0.005205, allocations: 15.81 kB / 472.8 MB, free: 10.09 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.005563, allocations: 43.88 kB / 472.8 MB, free: 10.05 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.005751, allocations: 87.69 kB / 472.9 MB, free: 9.961 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.005874, allocations: 15.94 kB / 472.9 MB, free: 9.945 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.006085, allocations: 55.81 kB / 473 MB, free: 9.891 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.006154, allocations: 27.97 kB / 473 MB, free: 9.863 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.006179, allocations: 8 kB / 473 MB, free: 9.855 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.006234, allocations: 11.98 kB / 473 MB, free: 9.844 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.006287, allocations: 19.92 kB / 473.1 MB, free: 9.824 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.006325, allocations: 23.92 kB / 473.1 MB, free: 9.801 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.006507, allocations: 63.8 kB / 473.2 MB, free: 9.738 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.006511, allocations: 0 / 473.2 MB, free: 9.738 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006512, allocations: 0 / 473.2 MB, free: 9.738 MB / 442.8 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.006517, allocations: 0 / 473.2 MB, free: 9.738 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005423/0.00706, allocations: 428.2 kB / 473.6 MB, free: 9.285 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.007109, allocations: 12.03 kB / 473.6 MB, free: 9.273 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.007254, allocations: 28.86 kB / 473.6 MB, free: 9.246 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/0.007454, allocations: 132.4 kB / 473.7 MB, free: 9.09 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.007475, allocations: 4.375 kB / 473.7 MB, free: 9.086 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.007502, allocations: 16.27 kB / 473.8 MB, free: 9.07 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.007704, allocations: 78.91 kB / 473.8 MB, free: 8.984 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.007711, allocations: 8.188 kB / 473.8 MB, free: 8.977 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.007723, allocations: 384 / 473.8 MB, free: 8.977 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.007734, allocations: 3.938 kB / 473.9 MB, free: 8.973 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.007803, allocations: 23.92 kB / 473.9 MB, free: 8.949 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.008225, allocations: 295.7 kB / 474.2 MB, free: 8.625 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.008541, allocations: 87.05 kB / 474.2 MB, free: 8.527 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.008594, allocations: 23.67 kB / 474.3 MB, free: 8.5 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.008608, allocations: 4 kB / 474.3 MB, free: 8.496 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.008637, allocations: 37.39 kB / 474.3 MB, free: 8.449 MB / 442.8 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.008638, allocations: 0 / 474.3 MB, free: 8.449 MB / 442.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002441/0.008882, allocations: 69.64 kB / 474.4 MB, free: 8.375 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.008914, allocations: 51.41 kB / 474.4 MB, free: 8.312 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.009049, allocations: 195.9 kB / 474.6 MB, free: 8.105 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.009065, allocations: 25.7 kB / 474.6 MB, free: 8.074 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.009131, allocations: 150.7 kB / 474.8 MB, free: 7.922 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.009162, allocations: 23.84 kB / 474.8 MB, free: 7.898 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.009209, allocations: 23.38 kB / 474.8 MB, free: 7.867 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.009342, allocations: 0.4962 MB / 475.3 MB, free: 7.359 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.009382, allocations: 4 kB / 475.3 MB, free: 7.355 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.009419, allocations: 11.98 kB / 475.4 MB, free: 7.344 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.009497, allocations: 31.69 kB / 475.4 MB, free: 7.309 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.009499, allocations: 0 / 475.4 MB, free: 7.309 MB / 442.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001352/0.009634, allocations: 73.56 kB / 475.5 MB, free: 7.23 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.009652, allocations: 8 kB / 475.5 MB, free: 7.223 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.009656, allocations: 0 / 475.5 MB, free: 7.223 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.00967, allocations: 0 / 475.5 MB, free: 7.223 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.009764, allocations: 27.91 kB / 475.5 MB, free: 7.195 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.009769, allocations: 4 kB / 475.5 MB, free: 7.191 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.009821, allocations: 4 kB / 475.5 MB, free: 7.188 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.009831, allocations: 7.984 kB / 475.5 MB, free: 7.18 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 (7): * Single equations (assignments): 7 * 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.398e-05/0.009915, allocations: 160.5 kB / 475.7 MB, free: 7.012 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.009949, allocations: 11.89 kB / 475.7 MB, free: 7 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.009973, allocations: 12.47 kB / 475.7 MB, free: 6.992 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.009975, allocations: 0 / 475.7 MB, free: 6.992 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.009979, allocations: 3.938 kB / 475.7 MB, free: 6.988 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009982, allocations: 0 / 475.7 MB, free: 6.988 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.01013, allocations: 132.6 kB / 475.8 MB, free: 6.824 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01014, allocations: 8 kB / 475.8 MB, free: 6.816 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.01023, allocations: 19.92 kB / 475.8 MB, free: 6.797 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01023, allocations: 0 / 475.8 MB, free: 6.797 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.01025, allocations: 3.984 kB / 475.9 MB, free: 6.793 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01025, allocations: 0 / 475.9 MB, free: 6.793 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01025, allocations: 0 / 475.9 MB, free: 6.793 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.01048, allocations: 224.1 kB / 476.1 MB, free: 6.555 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.0105, allocations: 15.88 kB / 476.1 MB, free: 6.539 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.01052, allocations: 8.062 kB / 476.1 MB, free: 6.531 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.01061, allocations: 12.03 kB / 476.1 MB, free: 6.52 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.01066, allocations: 3.984 kB / 476.1 MB, free: 6.516 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-06/0.01067, allocations: 7.984 kB / 476.1 MB, free: 6.508 MB / 442.8 MB Notification: Performance of sorting global known variables: time 6.702e-05/0.01074, allocations: 145.6 kB / 476.3 MB, free: 6.367 MB / 442.8 MB Notification: Performance of sort global known variables: time 9e-08/0.01074, allocations: 4 kB / 476.3 MB, free: 6.363 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002743/0.01101, allocations: 11.95 kB / 476.3 MB, free: 6.352 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (timeExtrema.ymax,timeExtrema.ymin) * 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 0.0001209/0.01113, allocations: 95.25 kB / 476.4 MB, free: 6.246 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.01129, allocations: 39.61 kB / 476.4 MB, free: 6.203 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01129, allocations: 0 / 476.4 MB, free: 6.203 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.01134, allocations: 31.67 kB / 476.4 MB, free: 6.168 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.01164, allocations: 6.25 kB / 476.4 MB, free: 6.164 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.01232, allocations: 218.7 kB / 476.7 MB, free: 5.914 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.723e-05/0.01236, allocations: 63.34 kB / 476.7 MB, free: 5.832 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 3.411e-05/0.01239, allocations: 11.98 kB / 476.7 MB, free: 5.82 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.01243, allocations: 12.5 kB / 476.7 MB, free: 5.809 MB / 442.8 MB Notification: Performance of SimCode: time 9.02e-07/0.01243, allocations: 0 / 476.7 MB, free: 5.809 MB / 442.8 MB Notification: Performance of Templates: time 0.002726/0.01515, allocations: 0.853 MB / 477.6 MB, free: 4.961 MB / 442.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; mkfifo ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe ; head -c 1048576 < ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe >> ../files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.sim & ./ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "" [Timeout remaining time 800] "" Variables in the reference:Time,timeExtrema.ymax,timeExtrema.ymin Variables in the result:T.k1,T.k2,ramp.duration,ramp.height,ramp.offset,ramp.startTime,sine.amplitude,sine.continuous,sine.f,sine.offset,sine.phase,sine.startTime,time,timeExtrema.initOption,timeExtrema.samplingTime,timeExtrema.startTime,timeExtrema.y_start[1],timeExtrema.y_start[2],timeExtrema.ymax,timeExtrema.ymin filterSimulationResults("ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff.mat", vars={"timeExtrema.ymin"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.TestMinMax.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Components.Utilities.Blocks.Check.TestMinMax.diff.ref.mat", vars={"timeExtrema.ymin"}, removeDescription=false) [Timeout 800] "" [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.4523762720637023]