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.000801/0.000801, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009764/0.0009764, allocations: 165 kB / 24.56 MB, free: 16 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 0.95/0.95, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.3263/0.3263, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] 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 1.753e-06/1.753e-06, allocations: 0 / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.084e-05, allocations: 2.312 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002273/0.002294, allocations: 1.713 MB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002446/0.002538, allocations: 71.75 kB / 379.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.002615, allocations: 3.938 kB / 379.8 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.002653, allocations: 7.875 kB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.00271, allocations: 15.81 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.002895, allocations: 35.95 kB / 379.9 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.785e-05/0.002993, allocations: 83.75 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.003129, allocations: 29.58 kB / 380 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.834e-05/0.003227, allocations: 47.89 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.003279, allocations: 23.91 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.0033, allocations: 4 kB / 380.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.003312, allocations: 8 kB / 380.1 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.003337, allocations: 23.91 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.003366, allocations: 19.92 kB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.003486, allocations: 59.69 kB / 380.2 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003489, allocations: 0 / 380.2 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.00349, allocations: 4 kB / 380.2 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.003495, allocations: 0 / 380.2 MB, free: 0.5195 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.0004101/0.003905, allocations: 420.4 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.003942, allocations: 11.97 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.003982, allocations: 20.84 kB / 380.6 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.004163, allocations: 160.4 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.004183, allocations: 8.562 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.004199, allocations: 4.375 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.004416, allocations: 126 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.004427, allocations: 0 / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.004441, allocations: 3.984 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.00445, allocations: 4 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.547e-05/0.004515, allocations: 31.92 kB / 380.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.005047, allocations: 482.5 kB / 381.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.005165, allocations: 54.95 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.005198, allocations: 27.7 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.005221, allocations: 4 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.005243, allocations: 33.39 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.005244, allocations: 0 / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001804/0.005424, allocations: 77.8 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.005453, allocations: 55.41 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/0.005547, allocations: 185.9 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.005559, allocations: 25.7 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.005626, allocations: 154.7 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.005642, allocations: 23.88 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.005676, allocations: 27.36 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.005807, allocations: 0.4923 MB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.005838, allocations: 11.98 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.005869, allocations: 35.3 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.629e-05/0.005925, allocations: 47.42 kB / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.005927, allocations: 0 / 382.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.713e-05/0.006014, allocations: 77.58 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.006027, allocations: 4.625 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006031, allocations: 3.938 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.006046, allocations: 8.031 kB / 382.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.289e-05/0.006129, allocations: 15.98 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.006134, allocations: 0 / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.006161, allocations: 11.95 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.006167, allocations: 7.938 kB / 382.8 MB, free: 13.67 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 6.846e-05/0.006235, allocations: 160.5 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.006254, allocations: 11.95 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.006384, allocations: 82.02 kB / 383 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.006387, allocations: 4 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.00639, allocations: 0 / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.006393, allocations: 4 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.006523, allocations: 144.6 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006525, allocations: 0 / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.131e-05/0.006566, allocations: 16 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.006568, allocations: 0 / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.006575, allocations: 0 / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006577, allocations: 3.938 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006579, allocations: 0 / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.006695, allocations: 223.8 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.006705, allocations: 11.89 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.006718, allocations: 8 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.006751, allocations: 3.938 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.006785, allocations: 7.984 kB / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.006788, allocations: 0 / 383.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.006835, allocations: 142.2 kB / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006835, allocations: 0 / 383.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.006979, allocations: 19.95 kB / 383.6 MB, free: 12.78 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 6.747e-05/0.007047, allocations: 87.25 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.007157, allocations: 51.58 kB / 383.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007158, allocations: 4.062 kB / 383.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.007189, allocations: 31.62 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.007359, allocations: 11.98 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.007854, allocations: 193.9 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.447e-05/0.007898, allocations: 60.05 kB / 384 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.875e-05/0.007937, allocations: 12.72 kB / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.007976, allocations: 16.5 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.007978, allocations: 0 / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of Templates: time 0.002666/0.01064, allocations: 0.6895 MB / 384.7 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.202450916171074]