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.01779/0.01779, allocations: 1.435 MB / 16.55 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1213/0.1213, allocations: 22.38 MB / 39.95 MB, free: 0.9102 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.001211/0.001211, allocations: 106.7 kB / 47.42 MB, free: 2.535 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.001467/0.001467, allocations: 191.6 kB / 55.01 MB, free: 6.59 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 285.3 MB, free: 1.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9325/0.9325, allocations: 127.8 MB / 470 MB, free: 10.14 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 127.2 kB / 0.5526 GB, free: 43.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.243, allocations: 82.34 MB / 0.633 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Functions.TestCases.TestMaxAbs): time 0.003536/0.2466, allocations: 1.092 MB / 0.634 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.2499, allocations: 1.413 MB / 0.6354 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.011e-05/0.25, allocations: 0 / 0.6354 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.25, allocations: 0 / 0.6354 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.2507, allocations: 75.8 kB / 0.6355 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.338e-06/0.2507, allocations: 0 / 0.6355 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.161e-05/0.2508, allocations: 7.984 kB / 0.6355 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.2508, allocations: 0 / 0.6355 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.742e-05/0.2509, allocations: 8 kB / 0.6355 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.2509, allocations: 7.922 kB / 0.6355 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.251, allocations: 4 kB / 0.6355 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.2515, allocations: 183.6 kB / 0.6357 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.2516, allocations: 11.98 kB / 0.6357 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.2516, allocations: 3.984 kB / 0.6357 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.2519, allocations: 83.81 kB / 0.6358 GB, free: 10.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2519, allocations: 0 / 0.6358 GB, free: 10.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2519, allocations: 0 / 0.6358 GB, free: 10.49 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.2519, allocations: 4 kB / 0.6358 GB, free: 10.48 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.0004604/0.2524, allocations: 331.6 kB / 0.6361 GB, free: 10.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.2524, allocations: 13.16 kB / 0.6361 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.2525, allocations: 8.844 kB / 0.6361 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.2527, allocations: 164.6 kB / 0.6363 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2527, allocations: 4.375 kB / 0.6363 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2527, allocations: 4.375 kB / 0.6363 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.2529, allocations: 45.94 kB / 0.6363 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2529, allocations: 0 / 0.6363 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.253, allocations: 0 / 0.6363 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.253, allocations: 0 / 0.6363 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.2531, allocations: 15.92 kB / 0.6364 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.2533, allocations: 153.7 kB / 0.6365 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.2535, allocations: 50.53 kB / 0.6366 GB, free: 9.562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.2536, allocations: 12.86 kB / 0.6366 GB, free: 9.547 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/0.2541, allocations: 344.4 kB / 0.6369 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.2542, allocations: 46.5 kB / 0.6369 GB, free: 9.082 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.2542, allocations: 4 kB / 0.6369 GB, free: 9.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002387/0.2545, allocations: 53.69 kB / 0.637 GB, free: 9.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2545, allocations: 51.41 kB / 0.637 GB, free: 8.957 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.2546, allocations: 89.86 kB / 0.6371 GB, free: 8.859 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2547, allocations: 25.7 kB / 0.6372 GB, free: 8.828 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.2547, allocations: 80.14 kB / 0.6372 GB, free: 8.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.2548, allocations: 11.81 kB / 0.6372 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.2549, allocations: 21.7 kB / 0.6373 GB, free: 8.707 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.2551, allocations: 314.8 kB / 0.6376 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.363e-05/0.2551, allocations: 8 kB / 0.6376 GB, free: 8.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.89e-05/0.2551, allocations: 7.938 kB / 0.6376 GB, free: 8.375 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.2552, allocations: 24.84 kB / 0.6376 GB, free: 8.348 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2552, allocations: 0 / 0.6376 GB, free: 8.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001402/0.2554, allocations: 49.69 kB / 0.6376 GB, free: 8.293 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.2554, allocations: 7.938 kB / 0.6377 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2555, allocations: 0 / 0.6377 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2555, allocations: 4 kB / 0.6377 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.149e-05/0.2556, allocations: 8 kB / 0.6377 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2556, allocations: 4 kB / 0.6377 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.2556, allocations: 0 / 0.6377 GB, free: 8.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2557, allocations: 4 kB / 0.6377 GB, free: 8.266 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 0.0001162/0.2558, allocations: 115.5 kB / 0.6378 GB, free: 8.145 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.2558, allocations: 3.938 kB / 0.6378 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.256, allocations: 61.17 kB / 0.6378 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.256, allocations: 0 / 0.6378 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2561, allocations: 4 kB / 0.6378 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.2561, allocations: 0 / 0.6378 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.2563, allocations: 157.7 kB / 0.638 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2563, allocations: 0 / 0.638 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.734e-05/0.2563, allocations: 8 kB / 0.638 GB, free: 7.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2564, allocations: 7.875 kB / 0.638 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.2564, allocations: 0 / 0.638 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.2564, allocations: 0 / 0.638 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2564, allocations: 4.312 kB / 0.638 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.2566, allocations: 81.11 kB / 0.6381 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.2566, allocations: 84.95 kB / 0.6382 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2567, allocations: 7.922 kB / 0.6382 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.2567, allocations: 4 kB / 0.6382 GB, free: 7.637 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.2567, allocations: 7.938 kB / 0.6382 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.2568, allocations: 0 / 0.6382 GB, free: 7.629 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.318e-05/0.2568, allocations: 75.28 kB / 0.6383 GB, free: 7.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2568, allocations: 0 / 0.6383 GB, free: 7.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.2572, allocations: 12 kB / 0.6383 GB, free: 7.543 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.0002493/0.2575, allocations: 115.2 kB / 0.6384 GB, free: 7.422 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.2576, allocations: 27.92 kB / 0.6384 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2576, allocations: 0 / 0.6384 GB, free: 7.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/0.2577, allocations: 8 kB / 0.6384 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.2579, allocations: 8 kB / 0.6384 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.2583, allocations: 102.3 kB / 0.6385 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.2587, allocations: 0.677 MB / 0.6392 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.61e-05/0.2587, allocations: 8 kB / 0.6392 GB, free: 6.543 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.2588, allocations: 7.438 kB / 0.6392 GB, free: 6.535 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2588, allocations: 0 / 0.6392 GB, free: 6.535 MB / 462.1 MB Notification: Performance of Templates: time 0.004701/0.2635, allocations: 0.5945 MB / 0.6398 GB, free: 5.941 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Basics.Functions.TestCases.TestMaxAbs.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestMaxAbs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches