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.009575/0.009575, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0009887/0.0009887, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0008823/0.0008823, allocations: 163.3 kB / 27.85 MB, free: 5.496 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.8674/0.8674, allocations: 177.1 MB / 208.6 MB, free: 2.961 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.7679/0.7679, allocations: 102.5 MB / 367.9 MB, free: 1.473 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestMaxAbs,fileNamePrefix="ClaRa_ClaRa_Basics_Functions_TestCases_TestMaxAbs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestMaxAbs,fileNamePrefix="ClaRa_ClaRa_Basics_Functions_TestCases_TestMaxAbs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.5361 GB, free: 40.08 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.559e-05, allocations: 4.953 kB / 0.5362 GB, free: 40.08 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001417/0.001443, allocations: 1.018 MB / 0.5371 GB, free: 39.42 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.003, allocations: 1.402 MB / 0.5385 GB, free: 38.43 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.003028, allocations: 0 / 0.5385 GB, free: 38.43 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.003042, allocations: 0.9375 kB / 0.5385 GB, free: 38.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.003408, allocations: 106.8 kB / 0.5386 GB, free: 38.39 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.003412, allocations: 0 / 0.5386 GB, free: 38.39 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 4.174e-05/0.003454, allocations: 8.531 kB / 0.5386 GB, free: 38.38 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.003498, allocations: 1.188 kB / 0.5386 GB, free: 38.38 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.581e-05/0.003524, allocations: 9.812 kB / 0.5386 GB, free: 38.38 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.003559, allocations: 9.609 kB / 0.5386 GB, free: 38.37 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 7.133e-06/0.003566, allocations: 0.9375 kB / 0.5386 GB, free: 38.37 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.003934, allocations: 176 kB / 0.5388 GB, free: 38.32 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.003943, allocations: 2.125 kB / 0.5388 GB, free: 38.32 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.003959, allocations: 5.062 kB / 0.5388 GB, free: 38.32 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.004153, allocations: 111.9 kB / 0.5389 GB, free: 38.29 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004157, allocations: 1.312 kB / 0.5389 GB, free: 38.29 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.893e-06/0.004159, allocations: 0 / 0.5389 GB, free: 38.29 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.004164, allocations: 2.062 kB / 0.5389 GB, free: 38.29 MB / 490.8 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.0002956/0.00446, allocations: 264.1 kB / 0.5392 GB, free: 38.01 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.004525, allocations: 9.469 kB / 0.5392 GB, free: 38.01 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.004565, allocations: 31.88 kB / 0.5392 GB, free: 37.97 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.004597, allocations: 2.5 kB / 0.5392 GB, free: 37.97 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.338e-05/0.00465, allocations: 105.2 kB / 0.5393 GB, free: 37.85 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.004665, allocations: 7.062 kB / 0.5393 GB, free: 37.84 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.004677, allocations: 1.812 kB / 0.5393 GB, free: 37.84 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.004798, allocations: 39.36 kB / 0.5394 GB, free: 37.81 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.004807, allocations: 1.406 kB / 0.5394 GB, free: 37.81 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.004818, allocations: 5.656 kB / 0.5394 GB, free: 37.8 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.004823, allocations: 3.938 kB / 0.5394 GB, free: 37.8 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/0.004867, allocations: 7.625 kB / 0.5394 GB, free: 37.8 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.004972, allocations: 125.6 kB / 0.5395 GB, free: 37.64 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/0.005064, allocations: 41.56 kB / 0.5396 GB, free: 37.61 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.005091, allocations: 16.3 kB / 0.5396 GB, free: 37.6 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.005291, allocations: 32.78 kB / 0.5396 GB, free: 37.6 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.005309, allocations: 36.41 kB / 0.5396 GB, free: 37.55 MB / 490.8 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.00531, allocations: 0 / 0.5396 GB, free: 37.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001495/0.00546, allocations: 64.77 kB / 0.5397 GB, free: 37.51 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.005486, allocations: 55.56 kB / 0.5397 GB, free: 37.45 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.298e-05/0.005499, allocations: 89.86 kB / 0.5398 GB, free: 37.35 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.005506, allocations: 29.7 kB / 0.5399 GB, free: 37.31 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.016e-05/0.005516, allocations: 85.86 kB / 0.5399 GB, free: 37.23 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.005544, allocations: 9.812 kB / 0.54 GB, free: 37.22 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.005568, allocations: 20.16 kB / 0.54 GB, free: 37.2 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.005606, allocations: 315.2 kB / 0.5403 GB, free: 36.88 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.005621, allocations: 6.188 kB / 0.5403 GB, free: 36.88 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.005633, allocations: 8.281 kB / 0.5403 GB, free: 36.88 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.005668, allocations: 24.64 kB / 0.5403 GB, free: 36.86 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.00567, allocations: 1.406 kB / 0.5403 GB, free: 36.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.675e-05/0.005717, allocations: 53.78 kB / 0.5404 GB, free: 36.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.005731, allocations: 10.19 kB / 0.5404 GB, free: 36.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005735, allocations: 0 / 0.5404 GB, free: 36.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.005748, allocations: 5.375 kB / 0.5404 GB, free: 36.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.092e-05/0.005799, allocations: 7.391 kB / 0.5404 GB, free: 36.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.005804, allocations: 1.469 kB / 0.5404 GB, free: 36.82 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.287e-06/0.005813, allocations: 3.953 kB / 0.5404 GB, free: 36.81 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.005817, allocations: 1.469 kB / 0.5404 GB, free: 36.81 MB / 490.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 (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.16e-05/0.005859, allocations: 117.8 kB / 0.5405 GB, free: 36.69 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-06/0.005862, allocations: 1.656 kB / 0.5405 GB, free: 36.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.041e-05/0.005953, allocations: 62.8 kB / 0.5406 GB, free: 36.64 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.005956, allocations: 3.938 kB / 0.5406 GB, free: 36.64 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.005962, allocations: 1.406 kB / 0.5406 GB, free: 36.64 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.005965, allocations: 0.5 kB / 0.5406 GB, free: 36.64 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.962e-05/0.006014, allocations: 125.2 kB / 0.5407 GB, free: 36.48 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.006015, allocations: 0 / 0.5407 GB, free: 36.48 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.444e-05/0.006029, allocations: 6.031 kB / 0.5407 GB, free: 36.48 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.00603, allocations: 1.469 kB / 0.5407 GB, free: 36.48 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.006037, allocations: 1.5 kB / 0.5407 GB, free: 36.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006039, allocations: 9.609 kB / 0.5407 GB, free: 36.47 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.00604, allocations: 0 / 0.5407 GB, free: 36.47 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.256e-05/0.006092, allocations: 81.16 kB / 0.5408 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.006099, allocations: 4.312 kB / 0.5408 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.006109, allocations: 1.125 kB / 0.5408 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.541e-06/0.006115, allocations: 4.469 kB / 0.5408 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.006129, allocations: 4.031 kB / 0.5408 GB, free: 36.39 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.006131, allocations: 1.844 kB / 0.5408 GB, free: 36.39 MB / 490.8 MB Notification: Performance of sorting global known variables: time 1.257e-05/0.006144, allocations: 75.28 kB / 0.5409 GB, free: 36.32 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006144, allocations: 0 / 0.5409 GB, free: 36.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001473/0.006291, allocations: 23.27 kB / 0.5409 GB, free: 36.31 MB / 490.8 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.0002411/0.006532, allocations: 0.6304 MB / 0.5415 GB, free: 35.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.006609, allocations: 24.31 kB / 0.5415 GB, free: 35.69 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.006611, allocations: 0 / 0.5415 GB, free: 35.69 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.006622, allocations: 13.78 kB / 0.5415 GB, free: 35.69 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.006723, allocations: 5.719 kB / 0.5416 GB, free: 35.68 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.006994, allocations: 132.1 kB / 0.5417 GB, free: 35.54 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.00703, allocations: 60.59 kB / 0.5417 GB, free: 35.47 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 2.146e-05/0.007052, allocations: 1.469 kB / 0.5417 GB, free: 35.47 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.007075, allocations: 13.91 kB / 0.5417 GB, free: 35.46 MB / 490.8 MB Notification: Performance of SimCode: time 7.81e-07/0.007076, allocations: 0 / 0.5417 GB, free: 35.46 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.02172, allocations: 2.023 MB / 0.5437 GB, free: 34.57 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.292, allocations: 12.84 kB / 0.5437 GB, free: 34.57 MB / 490.8 MB " [Timeout remaining time 793] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat --tempDir=temp_ClaRa_ClaRa_Basics_Functions_TestCases_TestMaxAbs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 ClaRa_ClaRa_Basics_Functions_TestCases_TestMaxAbs.fmu > ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 840.0] 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: 10.167617352679372]