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/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Basics.Functions.TestCases.TestMaxAbs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="CPUtime|EventCounter|Time|_derdummy|_dummy|maxx|minn|x1|x2",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.02186/0.02186, allocations: 1.414 MB / 17.34 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.131/0.131, allocations: 22.59 MB / 40.96 MB, free: 0.9336 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007924/0.0007925, allocations: 102.9 kB / 48.72 MB, free: 2.305 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 163.8 kB / 56.57 MB, free: 3.945 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 223.3 MB / 287.6 MB, free: 2.586 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9687/0.9687, allocations: 127.7 MB / 473.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007979/0.0007978, allocations: 22.06 kB / 0.5573 GB, free: 42.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2282, allocations: 83.88 MB / 0.6392 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.001153/0.2294, allocations: 0.743 MB / 0.64 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.2315, allocations: 1.396 MB / 0.6413 GB, free: 8.789 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.2316, allocations: 4 kB / 0.6413 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.2316, allocations: 0 / 0.6413 GB, free: 8.785 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.232, allocations: 75.84 kB / 0.6414 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.828e-06/0.232, allocations: 0 / 0.6414 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.801e-05/0.2321, allocations: 7.938 kB / 0.6414 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.578e-05/0.2322, allocations: 0 / 0.6414 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.2322, allocations: 4 kB / 0.6414 GB, free: 8.699 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.2322, allocations: 7.922 kB / 0.6414 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.2322, allocations: 0 / 0.6414 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.2326, allocations: 191.7 kB / 0.6416 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.2326, allocations: 0 / 0.6416 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.2327, allocations: 37.58 kB / 0.6416 GB, free: 8.461 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.2328, allocations: 55.92 kB / 0.6417 GB, free: 8.406 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2328, allocations: 4 kB / 0.6417 GB, free: 8.402 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2328, allocations: 0 / 0.6417 GB, free: 8.402 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2329, allocations: 0 / 0.6417 GB, free: 8.402 MB / 462.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.0003377/0.2332, allocations: 327.8 kB / 0.642 GB, free: 8.035 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.2333, allocations: 9.156 kB / 0.642 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.2333, allocations: 8.844 kB / 0.642 GB, free: 8.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.2334, allocations: 168.4 kB / 0.6422 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2335, allocations: 384 / 0.6422 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.2335, allocations: 4.375 kB / 0.6422 GB, free: 7.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2336, allocations: 42 kB / 0.6422 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2336, allocations: 0 / 0.6422 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2336, allocations: 4 kB / 0.6422 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2337, allocations: 0 / 0.6422 GB, free: 7.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.214e-05/0.2337, allocations: 15.88 kB / 0.6423 GB, free: 7.746 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.2339, allocations: 157.7 kB / 0.6424 GB, free: 7.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.234, allocations: 42.58 kB / 0.6424 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.2341, allocations: 20.98 kB / 0.6425 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004421/0.2345, allocations: 336.4 kB / 0.6428 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.2346, allocations: 34.5 kB / 0.6428 GB, free: 7.023 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.2346, allocations: 0 / 0.6428 GB, free: 7.023 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001939/0.2348, allocations: 65.62 kB / 0.6429 GB, free: 6.953 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.2348, allocations: 55.41 kB / 0.6429 GB, free: 6.887 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.783e-05/0.2349, allocations: 93.84 kB / 0.643 GB, free: 6.785 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.2349, allocations: 25.7 kB / 0.643 GB, free: 6.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.2349, allocations: 84.08 kB / 0.6431 GB, free: 6.668 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.235, allocations: 11.81 kB / 0.6431 GB, free: 6.656 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.235, allocations: 13.72 kB / 0.6431 GB, free: 6.637 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2352, allocations: 310.8 kB / 0.6434 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.2352, allocations: 4 kB / 0.6434 GB, free: 6.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.533e-05/0.2352, allocations: 15.98 kB / 0.6435 GB, free: 6.305 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.469e-05/0.2353, allocations: 17.14 kB / 0.6435 GB, free: 6.285 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2353, allocations: 0 / 0.6435 GB, free: 6.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.367e-05/0.2354, allocations: 61.61 kB / 0.6435 GB, free: 6.219 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2354, allocations: 7.938 kB / 0.6435 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2354, allocations: 0 / 0.6435 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2354, allocations: 0 / 0.6435 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.2355, allocations: 8 kB / 0.6436 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2355, allocations: 0 / 0.6436 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.2355, allocations: 0 / 0.6436 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.2355, allocations: 8 kB / 0.6436 GB, free: 6.195 MB / 462.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 7.914e-05/0.2356, allocations: 111.6 kB / 0.6437 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.2356, allocations: 7.938 kB / 0.6437 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.2357, allocations: 61.12 kB / 0.6437 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2358, allocations: 0 / 0.6437 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2358, allocations: 0 / 0.6437 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2358, allocations: 0 / 0.6437 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.2359, allocations: 157.6 kB / 0.6439 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2359, allocations: 8 kB / 0.6439 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.2359, allocations: 8 kB / 0.6439 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2359, allocations: 3.938 kB / 0.6439 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.2359, allocations: 0 / 0.6439 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.236, allocations: 0 / 0.6439 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.236, allocations: 0 / 0.6439 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.548e-05/0.2361, allocations: 77.11 kB / 0.644 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.2361, allocations: 84.95 kB / 0.6441 GB, free: 5.586 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.2361, allocations: 11.88 kB / 0.6441 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/0.2362, allocations: 4 kB / 0.6441 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.2362, allocations: 0 / 0.6441 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2362, allocations: 0 / 0.6441 GB, free: 5.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.249e-05/0.2362, allocations: 75.28 kB / 0.6441 GB, free: 5.496 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2362, allocations: 3.938 kB / 0.6441 GB, free: 5.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.2364, allocations: 23.98 kB / 0.6442 GB, free: 5.469 MB / 462.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.0001791/0.2366, allocations: 115.2 kB / 0.6443 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.2367, allocations: 20 kB / 0.6443 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2367, allocations: 0 / 0.6443 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.2368, allocations: 19.92 kB / 0.6443 GB, free: 5.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.2369, allocations: 6.344 kB / 0.6443 GB, free: 5.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.2371, allocations: 124.5 kB / 0.6444 GB, free: 5.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.2374, allocations: 0.6731 MB / 0.6451 GB, free: 4.449 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.2374, allocations: 11.44 kB / 0.6451 GB, free: 4.438 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2374, allocations: 0 / 0.6451 GB, free: 4.438 MB / 462.1 MB Notification: Performance of Templates: time 0.00214/0.2396, allocations: 0.7009 MB / 0.6458 GB, free: 3.738 MB / 462.1 MB make -j1 -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.makefile (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=480 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches