Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.conf.json 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.002122/0.002122, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002667/0.002667, allocations: 161.3 kB / 24.27 MB, free: 148 kB / 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 1.799/1.799, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.5126/0.5126, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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) Running command: translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|evenExponent.y|oddExponent.y|oneExponent.y|zeroExponent.y|nonInteger.y|sqrtExponent.y|inverse.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.095e-05/4.351e-05, allocations: 2.312 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.004548/0.004592, allocations: 1.678 MB / 379 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004209/0.005013, allocations: 71.69 kB / 379 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.005138, allocations: 3.938 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.967e-05/0.005188, allocations: 15.86 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.812e-05/0.005286, allocations: 11.81 kB / 379.1 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.005517, allocations: 27.97 kB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.005694, allocations: 83.75 kB / 379.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.005906, allocations: 29.58 kB / 379.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.006105, allocations: 51.88 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.006194, allocations: 27.91 kB / 379.3 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.006226, allocations: 4 kB / 379.3 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.495e-05/0.006251, allocations: 8 kB / 379.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.006472, allocations: 19.92 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.006524, allocations: 23.92 kB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.006746, allocations: 79.64 kB / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.00675, allocations: 0 / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006751, allocations: 0 / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.006759, allocations: 0 / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000803/0.007562, allocations: 420.1 kB / 379.8 MB, free: 404 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.007616, allocations: 12.03 kB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.888e-05/0.007694, allocations: 20.84 kB / 379.9 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.008032, allocations: 164.3 kB / 380 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.008063, allocations: 8.5 kB / 380 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.00808, allocations: 8.375 kB / 380 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.008399, allocations: 121.1 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.008411, allocations: 0 / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.008426, allocations: 0 / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.008436, allocations: 8 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.008669, allocations: 67.89 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.009499, allocations: 486.3 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.009716, allocations: 75.05 kB / 380.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.009813, allocations: 31.7 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.009842, allocations: 4 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.009884, allocations: 33.39 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.009885, allocations: 4 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004164/0.0103, allocations: 121.9 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.01036, allocations: 55.41 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.01055, allocations: 192.7 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.01057, allocations: 25.7 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01071, allocations: 158.7 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.01075, allocations: 23.8 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.01082, allocations: 31.36 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003116/0.01113, allocations: 0.4884 MB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.01122, allocations: 23.98 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.01131, allocations: 43.44 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.01149, allocations: 83.33 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01149, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002607/0.01175, allocations: 97.56 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.01178, allocations: 8 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01179, allocations: 3.938 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.0118, allocations: 0 / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.01192, allocations: 20.03 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.01193, allocations: 3.984 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.01199, allocations: 7.953 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.012, allocations: 0 / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0001518/0.01215, allocations: 164.6 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.01219, allocations: 11.95 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.01249, allocations: 109.9 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.01249, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01249, allocations: 0 / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.0125, allocations: 4 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.01274, allocations: 152.6 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01274, allocations: 0 / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.01283, allocations: 19.98 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01284, allocations: 3.984 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01285, allocations: 4 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.01285, allocations: 3.938 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01285, allocations: 0 / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.0134, allocations: 239.8 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.01342, allocations: 11.89 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.01344, allocations: 4 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.01352, allocations: 15.92 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.01358, allocations: 3.984 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.01358, allocations: 4 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.0137, allocations: 143.2 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0137, allocations: 0 / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.01393, allocations: 15.95 kB / 383.1 MB, free: 12.85 MB / 362.7 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 (8): * Single equations (assignments): 8 * 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.0001434/0.01407, allocations: 87.25 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.01434, allocations: 75.58 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01434, allocations: 4.062 kB / 383.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.01444, allocations: 43.61 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.01472, allocations: 8 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.01528, allocations: 205.8 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.01541, allocations: 81.45 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.01547, allocations: 12.72 kB / 383.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.01552, allocations: 12.5 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01552, allocations: 0 / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of Templates: time 0.004363/0.01989, allocations: 0.6934 MB / 384.3 MB, free: 11.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Exponentiation/Exponentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Exponentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.539696235093288]