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.006009/0.006009, 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.0006512/0.0006512, 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.0007211/0.0007211, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8893/0.8893, allocations: 177.2 MB / 208.6 MB, free: 2.957 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.7563/0.7563, allocations: 102.5 MB / 367.9 MB, free: 1.5 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 2.785e-06/2.785e-06, allocations: 2.281 kB / 0.5362 GB, free: 40.13 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.449e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.12 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001699/0.001723, allocations: 1.026 MB / 0.5372 GB, free: 39.46 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.003872, allocations: 1.403 MB / 0.5385 GB, free: 38.47 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.003914, allocations: 0 / 0.5385 GB, free: 38.47 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.003942, allocations: 0.6875 kB / 0.5385 GB, free: 38.47 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005947/0.004537, allocations: 104.4 kB / 0.5386 GB, free: 38.43 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.85e-06/0.004541, allocations: 0 / 0.5386 GB, free: 38.43 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.004594, allocations: 3.469 kB / 0.5386 GB, free: 38.43 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.004649, allocations: 6.531 kB / 0.5386 GB, free: 38.42 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.55e-05/0.004685, allocations: 13.88 kB / 0.5387 GB, free: 38.41 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.004731, allocations: 1.812 kB / 0.5387 GB, free: 38.41 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 9.016e-06/0.00474, allocations: 0 / 0.5387 GB, free: 38.41 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.005183, allocations: 173.5 kB / 0.5388 GB, free: 38.37 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.005193, allocations: 1.875 kB / 0.5388 GB, free: 38.37 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 1.535e-05/0.005209, allocations: 0 / 0.5388 GB, free: 38.37 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.005411, allocations: 116 kB / 0.5389 GB, free: 38.33 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.005415, allocations: 5.344 kB / 0.5389 GB, free: 38.33 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.005417, allocations: 0 / 0.5389 GB, free: 38.33 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.005423, allocations: 1.875 kB / 0.5389 GB, free: 38.33 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.0002728/0.005696, allocations: 262 kB / 0.5392 GB, free: 38.05 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.005748, allocations: 9.125 kB / 0.5392 GB, free: 38.05 MB / 490.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.005783, allocations: 35.11 kB / 0.5392 GB, free: 38.02 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.005816, allocations: 2.062 kB / 0.5392 GB, free: 38.02 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.255e-05/0.005878, allocations: 105.8 kB / 0.5393 GB, free: 37.89 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.005892, allocations: 384 / 0.5393 GB, free: 37.89 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.005903, allocations: 6.562 kB / 0.5393 GB, free: 37.89 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.006025, allocations: 35.52 kB / 0.5394 GB, free: 37.86 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.006036, allocations: 192 / 0.5394 GB, free: 37.86 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.006049, allocations: 8.125 kB / 0.5394 GB, free: 37.85 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.006055, allocations: 3.125 kB / 0.5394 GB, free: 37.85 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.436e-05/0.006109, allocations: 16.39 kB / 0.5394 GB, free: 37.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.006249, allocations: 125.5 kB / 0.5395 GB, free: 37.68 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.006363, allocations: 39.08 kB / 0.5396 GB, free: 37.65 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.006396, allocations: 15.36 kB / 0.5396 GB, free: 37.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.006666, allocations: 34.48 kB / 0.5396 GB, free: 37.64 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.00669, allocations: 36.03 kB / 0.5396 GB, free: 37.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.006691, allocations: 1.25 kB / 0.5396 GB, free: 37.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002245/0.006916, allocations: 65.42 kB / 0.5397 GB, free: 37.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.006951, allocations: 51.41 kB / 0.5398 GB, free: 37.48 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.47e-05/0.006975, allocations: 91.39 kB / 0.5398 GB, free: 37.39 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.006984, allocations: 26.95 kB / 0.5399 GB, free: 37.36 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.893e-05/0.007003, allocations: 88.14 kB / 0.54 GB, free: 37.27 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.007047, allocations: 9.375 kB / 0.54 GB, free: 37.26 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.007084, allocations: 31.97 kB / 0.54 GB, free: 37.23 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.007141, allocations: 312.7 kB / 0.5403 GB, free: 36.92 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.00716, allocations: 2.406 kB / 0.5403 GB, free: 36.92 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.76e-05/0.007177, allocations: 11.48 kB / 0.5403 GB, free: 36.91 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.00723, allocations: 18.8 kB / 0.5403 GB, free: 36.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.007233, allocations: 0 / 0.5403 GB, free: 36.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.976e-05/0.007312, allocations: 55.69 kB / 0.5404 GB, free: 36.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.007331, allocations: 6.531 kB / 0.5404 GB, free: 36.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.007339, allocations: 1.094 kB / 0.5404 GB, free: 36.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.007358, allocations: 3.938 kB / 0.5404 GB, free: 36.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.007439, allocations: 5.844 kB / 0.5404 GB, free: 36.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.007448, allocations: 4.625 kB / 0.5404 GB, free: 36.86 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.007462, allocations: 6.578 kB / 0.5404 GB, free: 36.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.007472, allocations: 1.406 kB / 0.5404 GB, free: 36.85 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 6.887e-05/0.007541, allocations: 115.2 kB / 0.5405 GB, free: 36.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-06/0.007548, allocations: 1.531 kB / 0.5405 GB, free: 36.73 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.007698, allocations: 62.52 kB / 0.5406 GB, free: 36.68 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.007702, allocations: 3.938 kB / 0.5406 GB, free: 36.68 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.00771, allocations: 0.5625 kB / 0.5406 GB, free: 36.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.007716, allocations: 4 kB / 0.5406 GB, free: 36.68 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.594e-05/0.007802, allocations: 124.2 kB / 0.5407 GB, free: 36.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007804, allocations: 0 / 0.5407 GB, free: 36.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.007833, allocations: 6.219 kB / 0.5407 GB, free: 36.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.007836, allocations: 0 / 0.5407 GB, free: 36.52 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.007844, allocations: 0 / 0.5407 GB, free: 36.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.007847, allocations: 10.08 kB / 0.5407 GB, free: 36.51 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007848, allocations: 0 / 0.5407 GB, free: 36.51 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.242e-05/0.00793, allocations: 80 kB / 0.5408 GB, free: 36.44 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.007938, allocations: 1.562 kB / 0.5408 GB, free: 36.44 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.007953, allocations: 2.375 kB / 0.5408 GB, free: 36.44 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.007961, allocations: 5.75 kB / 0.5408 GB, free: 36.43 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.00798, allocations: 5.375 kB / 0.5408 GB, free: 36.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.007986, allocations: 4.016 kB / 0.5408 GB, free: 36.43 MB / 490.8 MB Notification: Performance of sorting global known variables: time 2.056e-05/0.008007, allocations: 75.28 kB / 0.5409 GB, free: 36.36 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008007, allocations: 0 / 0.5409 GB, free: 36.36 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002394/0.008246, allocations: 21.69 kB / 0.5409 GB, free: 36.35 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.0003448/0.008591, allocations: 0.6282 MB / 0.5415 GB, free: 35.74 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.008701, allocations: 24.97 kB / 0.5415 GB, free: 35.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.008704, allocations: 1.688 kB / 0.5415 GB, free: 35.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 1.808e-05/0.008722, allocations: 11.5 kB / 0.5416 GB, free: 35.73 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.008865, allocations: 9.031 kB / 0.5416 GB, free: 35.72 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.009202, allocations: 129.7 kB / 0.5417 GB, free: 35.58 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.12e-05/0.009243, allocations: 60.8 kB / 0.5417 GB, free: 35.51 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 2.709e-05/0.00927, allocations: 6.031 kB / 0.5418 GB, free: 35.51 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.0093, allocations: 13.91 kB / 0.5418 GB, free: 35.5 MB / 490.8 MB Notification: Performance of SimCode: time 8.71e-07/0.009301, allocations: 0 / 0.5418 GB, free: 35.5 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.02766, allocations: 2.021 MB / 0.5437 GB, free: 34.61 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.168, allocations: 1.719 kB / 0.5437 GB, free: 34.61 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 & python3 -m fmpy simulate --output-file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.csv. Warning: Get data of variable CPUtime from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv failed! Error: Could not read variable EventCounter in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv. Warning: Get data of variable EventCounter from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv failed! Error: Could not read variable Time in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv. Warning: Get data of variable Time from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv failed! Error: Could not read variable _derdummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv. Warning: Get data of variable _derdummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv failed! Error: Could not read variable _dummy in file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv. Warning: Get data of variable _dummy from file ClaRa_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.csv failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 10.162589346058667]