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.008149/0.008149, allocations: 1.798 MB / 21.36 MB, free: 3.191 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.0007116/0.0007116, allocations: 89.81 kB / 25.15 MB, free: 7.473 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.0008299/0.0008299, allocations: 168.1 kB / 29.06 MB, free: 3.664 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.9208/0.9208, allocations: 177.2 MB / 210 MB, free: 3.574 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.5815/0.5815, allocations: 102.5 MB / 369.5 MB, free: 372 kB / 330.7 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.252e-06/1.252e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.497e-05, allocations: 4.938 kB / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.TestMinMax): time 0.002193/0.002218, allocations: 2.38 MB / 472.3 MB, free: 17.37 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006327/0.002851, allocations: 0.5083 MB / 472.9 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.002905, allocations: 3.688 kB / 472.9 MB, free: 17.04 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 4.918e-05/0.002954, allocations: 11.2 kB / 472.9 MB, free: 17.03 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.003019, allocations: 20.42 kB / 472.9 MB, free: 17.02 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.003284, allocations: 47.17 kB / 472.9 MB, free: 16.99 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.003407, allocations: 87.59 kB / 473 MB, free: 16.95 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.127e-05/0.003498, allocations: 12.61 kB / 473 MB, free: 16.95 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.003642, allocations: 57.98 kB / 473.1 MB, free: 16.92 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.003692, allocations: 31.38 kB / 473.1 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.00371, allocations: 5.875 kB / 473.1 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.265e-05/0.003752, allocations: 8.5 kB / 473.1 MB, free: 16.91 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.003793, allocations: 20.73 kB / 473.2 MB, free: 16.9 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.003818, allocations: 21 kB / 473.2 MB, free: 16.89 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003936, allocations: 73.97 kB / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003939, allocations: 0 / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003939, allocations: 0.75 kB / 473.2 MB, free: 16.85 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003944, allocations: 0 / 473.2 MB, free: 16.85 MB / 410.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.0003922/0.004336, allocations: 424.7 kB / 473.7 MB, free: 16.45 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.004369, allocations: 8.875 kB / 473.7 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.004487, allocations: 25.34 kB / 473.7 MB, free: 16.45 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.004642, allocations: 143 kB / 473.8 MB, free: 16.29 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.004663, allocations: 4.125 kB / 473.8 MB, free: 16.29 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.004683, allocations: 12.81 kB / 473.8 MB, free: 16.29 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.004836, allocations: 82.47 kB / 473.9 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-06/0.004842, allocations: 192 / 473.9 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004853, allocations: 3 kB / 473.9 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.004859, allocations: 3.938 kB / 473.9 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.299e-05/0.004902, allocations: 18.86 kB / 474 MB, free: 16.23 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.005205, allocations: 303.5 kB / 474.3 MB, free: 15.95 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.005423, allocations: 84.94 kB / 474.3 MB, free: 15.9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.005453, allocations: 20.78 kB / 474.4 MB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.005467, allocations: 3.281 kB / 474.4 MB, free: 15.89 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.005483, allocations: 40.05 kB / 474.4 MB, free: 15.84 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.005484, allocations: 1.188 kB / 474.4 MB, free: 15.84 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.000172/0.005656, allocations: 67.19 kB / 474.5 MB, free: 15.8 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.005677, allocations: 57.27 kB / 474.5 MB, free: 15.73 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.178e-05/0.005739, allocations: 190.1 kB / 474.7 MB, free: 15.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.475e-06/0.005747, allocations: 25.7 kB / 474.7 MB, free: 15.53 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.005782, allocations: 143.4 kB / 474.9 MB, free: 15.39 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.005802, allocations: 21.61 kB / 474.9 MB, free: 15.37 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.005832, allocations: 27.86 kB / 474.9 MB, free: 15.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003864/0.006218, allocations: 0.4902 MB / 475.4 MB, free: 30.85 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.418e-05/0.006253, allocations: 11.16 kB / 475.4 MB, free: 30.85 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.006276, allocations: 7.875 kB / 475.4 MB, free: 30.85 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.006328, allocations: 39.28 kB / 475.5 MB, free: 30.82 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.00633, allocations: 0 / 475.5 MB, free: 30.82 MB / 426.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.86e-05/0.006419, allocations: 75.39 kB / 475.5 MB, free: 30.77 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.006431, allocations: 5.25 kB / 475.5 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.006435, allocations: 0 / 475.5 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.006448, allocations: 0 / 475.5 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.006521, allocations: 22.17 kB / 475.6 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.006525, allocations: 0 / 475.6 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.00656, allocations: 13.36 kB / 475.6 MB, free: 30.77 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.006567, allocations: 2.625 kB / 475.6 MB, free: 30.77 MB / 426.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 0.0003074/0.006875, allocations: 160.5 kB / 475.7 MB, free: 30.61 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.006894, allocations: 17.33 kB / 475.8 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.006916, allocations: 11.09 kB / 475.8 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006918, allocations: 3.969 kB / 475.8 MB, free: 30.59 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006922, allocations: 4 kB / 475.8 MB, free: 30.58 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.006924, allocations: 0.5625 kB / 475.8 MB, free: 30.58 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.921e-05/0.007023, allocations: 137.4 kB / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007024, allocations: 0 / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.007086, allocations: 20.25 kB / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.007088, allocations: 1.781 kB / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.007102, allocations: 9.906 kB / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.007103, allocations: 0 / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.007104, allocations: 0 / 475.9 MB, free: 30.43 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.007279, allocations: 222.7 kB / 476.2 MB, free: 30.23 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-06/0.007288, allocations: 14.64 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.007302, allocations: 4.906 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/0.007351, allocations: 10.94 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.007393, allocations: 4.188 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.007398, allocations: 9.719 kB / 476.2 MB, free: 30.21 MB / 426.8 MB Notification: Performance of sorting global known variables: time 6.209e-05/0.00746, allocations: 140 kB / 476.3 MB, free: 30.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.00746, allocations: 0.9062 kB / 476.3 MB, free: 30.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001438/0.007604, allocations: 11.69 kB / 476.4 MB, free: 30.09 MB / 426.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 7.734e-05/0.007681, allocations: 95.06 kB / 476.4 MB, free: 30 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.007795, allocations: 42.8 kB / 476.5 MB, free: 29.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007796, allocations: 0.5 kB / 476.5 MB, free: 29.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.007829, allocations: 27.92 kB / 476.5 MB, free: 29.96 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.008026, allocations: 9.562 kB / 476.5 MB, free: 29.96 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004896/0.008516, allocations: 198 kB / 476.7 MB, free: 29.8 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.00855, allocations: 66.94 kB / 476.8 MB, free: 29.72 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 3.11e-05/0.008582, allocations: 9.703 kB / 476.8 MB, free: 29.72 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.00862, allocations: 12.44 kB / 476.8 MB, free: 29.71 MB / 426.8 MB Notification: Performance of SimCode: time 7.42e-07/0.00862, allocations: 3.938 kB / 476.8 MB, free: 29.71 MB / 426.8 MB Notification: Performance of Templates: time 0.002635/0.01126, allocations: 0.9099 MB / 477.7 MB, free: 29.63 MB / 426.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.335356581956148]