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.0009412/0.0009412, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001038/0.001979, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000719/0.000719, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001721, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.067/1.067, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08902/1.156, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2754/0.2754, allocations: 34.26 MB / 278.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02314/0.2985, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.684e-06/1.684e-06, allocations: 0 / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.513e-05, allocations: 5.391 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.001852/0.001867, allocations: 1.75 MB / 294.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.002, allocations: 75.62 kB / 294.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.002063, allocations: 7.938 kB / 294.5 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.002091, allocations: 11.86 kB / 294.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.961e-05/0.002121, allocations: 11.88 kB / 294.5 MB, free: 4.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.825e-05/0.002199, allocations: 35.91 kB / 294.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.715e-05/0.002286, allocations: 76.33 kB / 294.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.002396, allocations: 34.16 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.002499, allocations: 60.33 kB / 294.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.002548, allocations: 23.91 kB / 294.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.002568, allocations: 4 kB / 294.7 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.002578, allocations: 8 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.002594, allocations: 11.94 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.00262, allocations: 19.94 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.49e-05/0.002715, allocations: 55.75 kB / 294.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.00273, allocations: 7.938 kB / 294.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00273, allocations: 0 / 294.8 MB, free: 4.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.002744, allocations: 0 / 294.8 MB, free: 4.121 MB / 282.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.0003881/0.003132, allocations: 313.6 kB / 295.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.003164, allocations: 8.625 kB / 295.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.003197, allocations: 16.92 kB / 295.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.003356, allocations: 133.7 kB / 295.3 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.003376, allocations: 12.56 kB / 295.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.003389, allocations: 12.38 kB / 295.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.003535, allocations: 113 kB / 295.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.003542, allocations: 0 / 295.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.00355, allocations: 3.984 kB / 295.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.003556, allocations: 4 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.053e-05/0.003597, allocations: 31.94 kB / 295.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.00389, allocations: 300.1 kB / 295.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.003958, allocations: 50.52 kB / 295.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.003976, allocations: 16.86 kB / 295.8 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.003997, allocations: 3.984 kB / 295.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.004017, allocations: 34.56 kB / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.011e-06/0.004018, allocations: 0 / 295.8 MB, free: 2.984 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001075/0.004125, allocations: 53.69 kB / 295.9 MB, free: 2.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.004156, allocations: 59.28 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.004224, allocations: 132.2 kB / 296.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.004233, allocations: 25.7 kB / 296.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.004276, allocations: 112.1 kB / 296.2 MB, free: 2.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.00429, allocations: 31.75 kB / 296.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.004316, allocations: 21.7 kB / 296.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.004383, allocations: 318.8 kB / 296.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.004396, allocations: 7.984 kB / 296.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.004416, allocations: 21.7 kB / 296.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.004456, allocations: 41.92 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.004458, allocations: 0 / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.969e-05/0.004518, allocations: 61.67 kB / 296.7 MB, free: 2.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.004529, allocations: 8 kB / 296.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.004533, allocations: 4.031 kB / 296.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.004541, allocations: 3.938 kB / 296.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.004615, allocations: 31.86 kB / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004618, allocations: 0 / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.004637, allocations: 4 kB / 296.8 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.004641, allocations: 0 / 296.8 MB, free: 1.992 MB / 282.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 4.666e-05/0.004688, allocations: 117.8 kB / 296.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.004703, allocations: 7.984 kB / 296.9 MB, free: 1.859 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.912e-05/0.004782, allocations: 66.05 kB / 296.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.004784, allocations: 8 kB / 297 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.004786, allocations: 3.938 kB / 297 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.004789, allocations: 3.984 kB / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.637e-05/0.004875, allocations: 93.75 kB / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.004876, allocations: 0 / 297 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.004913, allocations: 12 kB / 297.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.00492, allocations: 11.94 kB / 297.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.004921, allocations: 0 / 297.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.004926, allocations: 4 kB / 297.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004927, allocations: 0 / 297.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.004928, allocations: 3.938 kB / 297.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.11e-05/0.005009, allocations: 159.5 kB / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.005017, allocations: 0 / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.049e-05/0.005048, allocations: 0 / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.005074, allocations: 11.98 kB / 297.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.005076, allocations: 0 / 297.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.3e-05/0.005099, allocations: 29.77 kB / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005099, allocations: 0 / 297.3 MB, free: 1.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001161/0.005215, allocations: 12 kB / 297.3 MB, free: 1.398 MB / 282.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 5.749e-05/0.005273, allocations: 72.42 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.072e-05/0.005343, allocations: 44.77 kB / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.005347, allocations: 0 / 297.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.005366, allocations: 16.86 kB / 297.4 MB, free: 1.254 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.005497, allocations: 15.98 kB / 297.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.005849, allocations: 200.6 kB / 297.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.005882, allocations: 63.34 kB / 297.7 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.047e-05/0.005912, allocations: 20.66 kB / 297.7 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.005955, allocations: 63.38 kB / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.005956, allocations: 0 / 297.8 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of Templates: time 0.002008/0.007964, allocations: 0.6984 MB / 298.5 MB, free: 164 kB / 282.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 -ignoreHideResult -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: 2.850649256259203]