Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.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.01322/0.01322, allocations: 1.349 MB / 20.45 MB, free: 1.262 MB / 14.72 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.00176/0.00176, allocations: 77.06 kB / 24.02 MB, free: 2.605 MB / 14.72 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.002178/0.002178, allocations: 156.6 kB / 27.71 MB, free: 3.859 MB / 19.63 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 1.434/1.434, allocations: 177.1 MB / 208.4 MB, free: 7.691 MB / 190.1 MB " [Timeout remaining time 178] 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 1.025/1.025, allocations: 102.5 MB / 367.8 MB, free: 4.598 MB / 334.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs") translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.5364 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.312e-05, allocations: 5.891 kB / 0.5364 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001756/0.001789, allocations: 1.018 MB / 0.5374 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.00335, allocations: 1.409 MB / 0.5388 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.00338, allocations: 0 / 0.5388 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.003394, allocations: 0 / 0.5388 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004517/0.003846, allocations: 101.1 kB / 0.5389 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.829e-06/0.003851, allocations: 0 / 0.5389 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.979e-05/0.00389, allocations: 7.5 kB / 0.5389 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.00393, allocations: 5.125 kB / 0.5389 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.003955, allocations: 1.156 kB / 0.5389 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.138e-05/0.003997, allocations: 10.3 kB / 0.5389 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.685e-06/0.004004, allocations: 0 / 0.5389 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.004377, allocations: 168 kB / 0.5391 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.004385, allocations: 1.688 kB / 0.5391 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.436e-05/0.004399, allocations: 3.984 kB / 0.5391 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.004586, allocations: 121.5 kB / 0.5392 GB, free: 5.047 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004589, allocations: 0 / 0.5392 GB, free: 5.047 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.00459, allocations: 0 / 0.5392 GB, free: 5.047 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004594, allocations: 0 / 0.5392 GB, free: 5.047 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002841/0.004878, allocations: 263.8 kB / 0.5394 GB, free: 4.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.004922, allocations: 9.219 kB / 0.5395 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.004966, allocations: 2.344 kB / 0.5395 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.16e-05/0.005017, allocations: 107.7 kB / 0.5396 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.005031, allocations: 4.375 kB / 0.5396 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-06/0.00504, allocations: 1.688 kB / 0.5396 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.005141, allocations: 36.11 kB / 0.5396 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.00515, allocations: 1.625 kB / 0.5396 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.005158, allocations: 384 / 0.5396 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005163, allocations: 3.938 kB / 0.5396 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.005206, allocations: 23.39 kB / 0.5396 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001017/0.005307, allocations: 101.2 kB / 0.5397 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.175e-05/0.005399, allocations: 35.45 kB / 0.5398 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.00543, allocations: 22.41 kB / 0.5398 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.005675, allocations: 30.59 kB / 0.5398 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.005697, allocations: 36.94 kB / 0.5398 GB, free: 4.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.005698, allocations: 0 / 0.5398 GB, free: 4.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001551/0.005853, allocations: 63.67 kB / 0.5399 GB, free: 4.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.00588, allocations: 59.34 kB / 0.54 GB, free: 4.234 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.219e-05/0.005902, allocations: 89.86 kB / 0.54 GB, free: 4.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.00591, allocations: 25.7 kB / 0.5401 GB, free: 4.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.079e-05/0.005921, allocations: 81.02 kB / 0.5401 GB, free: 4.023 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.00595, allocations: 18.73 kB / 0.5402 GB, free: 4.008 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.005976, allocations: 16.44 kB / 0.5402 GB, free: 3.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.006018, allocations: 316.1 kB / 0.5405 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.006036, allocations: 12.36 kB / 0.5405 GB, free: 3.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.006048, allocations: 3.25 kB / 0.5405 GB, free: 3.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.006087, allocations: 22.64 kB / 0.5405 GB, free: 3.648 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.006089, allocations: 0 / 0.5405 GB, free: 3.648 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.418e-05/0.006153, allocations: 56.31 kB / 0.5406 GB, free: 3.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.006167, allocations: 5.375 kB / 0.5406 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006171, allocations: 1.062 kB / 0.5406 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.006186, allocations: 0 / 0.5406 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.006248, allocations: 9.797 kB / 0.5406 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.006254, allocations: 5.125 kB / 0.5406 GB, free: 3.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.006267, allocations: 3.953 kB / 0.5406 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.006273, allocations: 6.312 kB / 0.5406 GB, free: 3.586 MB / 446.1 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 (4): * Single equations (assignments): 4 * 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 4.713e-05/0.00632, allocations: 107.1 kB / 0.5407 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.006328, allocations: 1.031 kB / 0.5407 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.00644, allocations: 63.34 kB / 0.5408 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.006442, allocations: 1.188 kB / 0.5408 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.006446, allocations: 0 / 0.5408 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.006449, allocations: 5.188 kB / 0.5408 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.489e-05/0.006493, allocations: 105 kB / 0.5409 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006494, allocations: 0 / 0.5409 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.006521, allocations: 5.5 kB / 0.5409 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006523, allocations: 1.688 kB / 0.5409 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.006529, allocations: 0 / 0.5409 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.00653, allocations: 0 / 0.5409 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006531, allocations: 9 kB / 0.5409 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.563e-05/0.006607, allocations: 85.36 kB / 0.541 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-06/0.006612, allocations: 9.297 kB / 0.541 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.006623, allocations: 5.031 kB / 0.541 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.006634, allocations: 0 / 0.541 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.006647, allocations: 1.594 kB / 0.541 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.006651, allocations: 1.719 kB / 0.541 GB, free: 3.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.219e-05/0.006663, allocations: 79.22 kB / 0.5411 GB, free: 3.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006663, allocations: 0 / 0.5411 GB, free: 3.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.006872, allocations: 19.91 kB / 0.5411 GB, free: 3.09 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001514/0.007023, allocations: 118.7 kB / 0.5412 GB, free: 2.988 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.007129, allocations: 16.25 kB / 0.5412 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00713, allocations: 1.25 kB / 0.5412 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.007148, allocations: 19.14 kB / 0.5412 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.007284, allocations: 1.469 kB / 0.5412 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.007503, allocations: 94.88 kB / 0.5413 GB, free: 2.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.007534, allocations: 60.8 kB / 0.5414 GB, free: 2.793 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.373e-05/0.007558, allocations: 6.656 kB / 0.5414 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.007576, allocations: 13.81 kB / 0.5414 GB, free: 2.777 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.007576, allocations: 0 / 0.5414 GB, free: 2.777 MB / 446.1 MB Notification: Performance of Templates: time 0.003018/0.01059, allocations: 0.5952 MB / 0.542 GB, free: 2.469 MB / 446.1 MB " [Timeout remaining time 800] make -j1 -f ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile [Timeout 800] (rm -f ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 800] diffSimulationResults("ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 5.603175055235624]