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.001083/0.001083, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001795/0.002878, allocations: 449.8 kB / 10.44 MB, free: 252 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.001113/0.001113, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00158/0.002693, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9626/0.9626, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09724/1.06, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.2561/0.2561, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02755/0.2837, allocations: 13.11 MB / 291.5 MB, free: 7.32 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.203e-06/1.203e-06, allocations: 3.938 kB / 292.8 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.059e-05, allocations: 9.219 kB / 292.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.001922/0.001943, allocations: 1.742 MB / 294.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.002075, allocations: 83.61 kB / 294.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.002137, allocations: 0 / 294.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.235e-05/0.002169, allocations: 11.81 kB / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.192e-05/0.002201, allocations: 11.88 kB / 294.7 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.962e-05/0.002281, allocations: 35.95 kB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.545e-05/0.002366, allocations: 80.27 kB / 294.8 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.002478, allocations: 34.67 kB / 294.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.802e-05/0.002576, allocations: 55.88 kB / 294.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.002627, allocations: 31.89 kB / 294.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.00265, allocations: 8 kB / 294.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.002661, allocations: 8 kB / 294.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.002682, allocations: 15.88 kB / 295 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.002706, allocations: 19.94 kB / 295 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.22e-05/0.002799, allocations: 43.78 kB / 295 MB, free: 4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.002809, allocations: 4 kB / 295 MB, free: 3.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002809, allocations: 0 / 295 MB, free: 3.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.002818, allocations: 0 / 295 MB, free: 3.996 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.0003317/0.003149, allocations: 309.6 kB / 295.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.003179, allocations: 8.625 kB / 295.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.003213, allocations: 20.92 kB / 295.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.003362, allocations: 150.2 kB / 295.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.003379, allocations: 4.562 kB / 295.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.003391, allocations: 12.38 kB / 295.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.003526, allocations: 109.1 kB / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.003533, allocations: 0 / 295.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.00354, allocations: 4 kB / 295.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.003545, allocations: 4 kB / 295.6 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.571e-05/0.00358, allocations: 27.88 kB / 295.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.003835, allocations: 304.1 kB / 296 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.307e-05/0.003908, allocations: 50.53 kB / 296 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.003925, allocations: 12.86 kB / 296 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.003942, allocations: 4 kB / 296 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.003962, allocations: 34.5 kB / 296.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.003963, allocations: 0 / 296.1 MB, free: 2.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001201/0.004083, allocations: 61.67 kB / 296.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.004112, allocations: 59.34 kB / 296.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/0.00417, allocations: 124.9 kB / 296.3 MB, free: 2.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.778e-06/0.00418, allocations: 29.64 kB / 296.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.004225, allocations: 112.1 kB / 296.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.004239, allocations: 27.73 kB / 296.5 MB, free: 2.414 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.004269, allocations: 29.7 kB / 296.5 MB, free: 2.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.004338, allocations: 318.8 kB / 296.8 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.004353, allocations: 8 kB / 296.8 MB, free: 2.051 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.004375, allocations: 25.64 kB / 296.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.004414, allocations: 37.98 kB / 296.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.004416, allocations: 0 / 296.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.72e-05/0.004484, allocations: 65.61 kB / 296.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004496, allocations: 4 kB / 296.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.0045, allocations: 4.031 kB / 296.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.00451, allocations: 4 kB / 296.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.8e-05/0.004578, allocations: 15.94 kB / 297 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.004581, allocations: 7.984 kB / 297 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.004601, allocations: 4 kB / 297 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.004605, allocations: 0 / 297 MB, free: 1.867 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 5.271e-05/0.004658, allocations: 117.8 kB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.004672, allocations: 4 kB / 297.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.00476, allocations: 66.09 kB / 297.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.004762, allocations: 0 / 297.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.004766, allocations: 7.938 kB / 297.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.004769, allocations: 4 kB / 297.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.118e-05/0.004861, allocations: 97.75 kB / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.004862, allocations: 0 / 297.3 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.004902, allocations: 19.98 kB / 297.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.00491, allocations: 11.89 kB / 297.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.004911, allocations: 0 / 297.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-06/0.004916, allocations: 0 / 297.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.004917, allocations: 0 / 297.3 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.004919, allocations: 3.938 kB / 297.3 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.484e-05/0.005004, allocations: 151.5 kB / 297.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-06/0.005013, allocations: 8 kB / 297.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.136e-05/0.005044, allocations: 4 kB / 297.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.005073, allocations: 7.984 kB / 297.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.005075, allocations: 0 / 297.5 MB, free: 1.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.633e-05/0.005091, allocations: 24.72 kB / 297.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.005091, allocations: 0 / 297.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001161/0.005207, allocations: 16 kB / 297.5 MB, free: 1.277 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 6.889e-05/0.005276, allocations: 76.36 kB / 297.6 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.044e-05/0.005347, allocations: 44.83 kB / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.005351, allocations: 0 / 297.6 MB, free: 1.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.00538, allocations: 24.84 kB / 297.6 MB, free: 1.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.005533, allocations: 53.61 kB / 297.7 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.005931, allocations: 196.7 kB / 297.9 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.005974, allocations: 67.28 kB / 298 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.187e-05/0.006006, allocations: 16.75 kB / 298 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.006053, allocations: 55.38 kB / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006053, allocations: 0 / 298 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of Templates: time 0.002067/0.00812, allocations: 0.6766 MB / 298.7 MB, free: 20 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.651262702420354]