Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008526/0.008526, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.0008534/0.0008534, allocations: 80.31 kB / 26.19 MB, free: 6.078 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.0009/0.0009, allocations: 168.6 kB / 30.12 MB, free: 2.184 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.9532/0.9532, allocations: 177.2 MB / 211.1 MB, free: 3.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.5923/0.5923, allocations: 102.4 MB / 370.6 MB, free: 252 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_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_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 471.2 MB, free: 18.84 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.646e-05, allocations: 4.562 kB / 471.2 MB, free: 18.83 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001787/0.001813, allocations: 1.053 MB / 472.2 MB, free: 18.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.003487, allocations: 1.437 MB / 473.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.003521, allocations: 2.469 kB / 473.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.003537, allocations: 0 / 473.7 MB, free: 17.19 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005716/0.004109, allocations: 102.9 kB / 473.8 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.004112, allocations: 0 / 473.8 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 3.915e-05/0.004152, allocations: 3.75 kB / 473.8 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.004193, allocations: 3.344 kB / 473.8 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.581e-05/0.004219, allocations: 8.484 kB / 473.8 MB, free: 17.14 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.004258, allocations: 6.891 kB / 473.8 MB, free: 17.13 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.923e-06/0.004265, allocations: 3.938 kB / 473.8 MB, free: 17.13 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.004566, allocations: 170.5 kB / 474 MB, free: 17.09 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-06/0.004573, allocations: 3.938 kB / 474 MB, free: 17.08 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 9.007e-06/0.004582, allocations: 4 kB / 474 MB, free: 17.08 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.004719, allocations: 114 kB / 474.1 MB, free: 17.05 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004722, allocations: 0 / 474.1 MB, free: 17.05 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004724, allocations: 2.438 kB / 474.1 MB, free: 17.05 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004728, allocations: 0 / 474.1 MB, free: 17.05 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0001824/0.00491, allocations: 367.2 kB / 474.5 MB, free: 16.66 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.004942, allocations: 10.5 kB / 474.5 MB, free: 16.66 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.004966, allocations: 3.562 kB / 474.5 MB, free: 16.66 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.361e-05/0.005, allocations: 108.6 kB / 474.6 MB, free: 16.53 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.005009, allocations: 3 kB / 474.6 MB, free: 16.53 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.005015, allocations: 2.125 kB / 474.6 MB, free: 16.53 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.79e-05/0.005073, allocations: 41.2 kB / 474.6 MB, free: 16.5 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.005078, allocations: 192 / 474.6 MB, free: 16.5 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.005084, allocations: 384 / 474.6 MB, free: 16.5 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.005088, allocations: 3.938 kB / 474.6 MB, free: 16.49 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.005107, allocations: 9.359 kB / 474.6 MB, free: 16.49 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.055e-05/0.005177, allocations: 98.52 kB / 474.7 MB, free: 16.38 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.712e-05/0.005234, allocations: 41.69 kB / 474.8 MB, free: 16.34 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.561e-05/0.00525, allocations: 18.52 kB / 474.8 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.005396, allocations: 30.14 kB / 474.8 MB, free: 16.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.00541, allocations: 43.95 kB / 474.9 MB, free: 16.27 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 5.71e-07/0.00541, allocations: 0 / 474.9 MB, free: 16.27 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 9.716e-05/0.005507, allocations: 48.27 kB / 474.9 MB, free: 16.24 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.005527, allocations: 53.34 kB / 475 MB, free: 16.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.621e-05/0.005544, allocations: 142.2 kB / 475.1 MB, free: 16.03 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.005549, allocations: 29.7 kB / 475.1 MB, free: 15.99 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.005821, allocations: 133.5 kB / 475.3 MB, free: 31.86 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.005847, allocations: 7.906 kB / 475.3 MB, free: 31.85 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.005867, allocations: 21.91 kB / 475.3 MB, free: 31.83 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.005967, allocations: 499.2 kB / 475.8 MB, free: 31.33 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.005976, allocations: 2.625 kB / 475.8 MB, free: 31.33 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.005983, allocations: 8.25 kB / 475.8 MB, free: 31.33 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.686e-05/0.00601, allocations: 29.92 kB / 475.8 MB, free: 31.31 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.006012, allocations: 0 / 475.8 MB, free: 31.31 MB / 426.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.832e-05/0.00605, allocations: 49.98 kB / 475.9 MB, free: 31.27 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.006059, allocations: 9.188 kB / 475.9 MB, free: 31.27 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006064, allocations: 0 / 475.9 MB, free: 31.27 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.006071, allocations: 0 / 475.9 MB, free: 31.27 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.006113, allocations: 6.5 kB / 475.9 MB, free: 31.27 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.006116, allocations: 0 / 475.9 MB, free: 31.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-06/0.006124, allocations: 6.562 kB / 475.9 MB, free: 31.27 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.006127, allocations: 8.469 kB / 475.9 MB, free: 31.26 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 (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.934e-05/0.006176, allocations: 167.1 kB / 476.1 MB, free: 31.09 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-06/0.006181, allocations: 2.625 kB / 476.1 MB, free: 31.09 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.006247, allocations: 53.94 kB / 476.1 MB, free: 31.04 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.006248, allocations: 2.625 kB / 476.1 MB, free: 31.04 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.00625, allocations: 3.234 kB / 476.1 MB, free: 31.04 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.006252, allocations: 0 / 476.1 MB, free: 31.04 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.931e-05/0.006291, allocations: 95.83 kB / 476.2 MB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006292, allocations: 2.625 kB / 476.2 MB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.006304, allocations: 5.25 kB / 476.2 MB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.006305, allocations: 1.531 kB / 476.2 MB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.006308, allocations: 4 kB / 476.2 MB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006309, allocations: 3.234 kB / 476.2 MB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00631, allocations: 2.625 kB / 476.2 MB, free: 30.92 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.703e-05/0.006347, allocations: 81.28 kB / 476.3 MB, free: 30.83 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-06/0.006351, allocations: 5.625 kB / 476.3 MB, free: 30.83 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-06/0.006358, allocations: 6.406 kB / 476.3 MB, free: 30.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-06/0.006362, allocations: 0 / 476.3 MB, free: 30.83 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-06/0.006371, allocations: 5.859 kB / 476.3 MB, free: 30.83 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-06/0.006372, allocations: 0 / 476.3 MB, free: 30.83 MB / 426.8 MB Notification: Performance of sorting global known variables: time 2.672e-05/0.006399, allocations: 121.8 kB / 476.5 MB, free: 30.71 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006399, allocations: 0 / 476.5 MB, free: 30.71 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001276/0.006527, allocations: 17 kB / 476.5 MB, free: 30.71 MB / 426.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.0001159/0.006642, allocations: 121.2 kB / 476.6 MB, free: 30.61 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 5.696e-05/0.006699, allocations: 27.34 kB / 476.6 MB, free: 30.59 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006701, allocations: 0 / 476.6 MB, free: 30.59 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.006713, allocations: 16.69 kB / 476.6 MB, free: 30.58 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.006837, allocations: 7.156 kB / 476.6 MB, free: 30.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001424/0.00698, allocations: 101.9 kB / 476.7 MB, free: 30.46 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.18e-05/0.007002, allocations: 57.56 kB / 476.8 MB, free: 30.39 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 1.929e-05/0.007021, allocations: 0.6562 kB / 476.8 MB, free: 30.39 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.007046, allocations: 73.39 kB / 476.9 MB, free: 30.33 MB / 426.8 MB Notification: Performance of SimCode: time 5.51e-07/0.007046, allocations: 0 / 476.9 MB, free: 30.33 MB / 426.8 MB Notification: Performance of Templates: time 0.001813/0.008859, allocations: 0.7022 MB / 477.6 MB, free: 30.26 MB / 426.8 MB " [Timeout remaining time 800] make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile [Timeout 800] (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.sim & ./ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) [Timeout 240] diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _derdummy from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! Error: Could not read variable _dummy in file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat. Warning: Get data of variable _dummy from file ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat failed! " [Timeout remaining time 800] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4111869181506336]